From 731044b056e8d3610715fe5d6bbb925af715ed93 Mon Sep 17 00:00:00 2001 From: Bernhard Minks Date: Thu, 15 Jan 2026 13:41:04 +0100 Subject: [PATCH] fixing typo --- artifactory/commands/buildinfo/adddependencies.go | 2 +- artifactory/commands/container/containermanagerbase.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artifactory/commands/buildinfo/adddependencies.go b/artifactory/commands/buildinfo/adddependencies.go index 615f1991..07bfbbc7 100644 --- a/artifactory/commands/buildinfo/adddependencies.go +++ b/artifactory/commands/buildinfo/adddependencies.go @@ -237,7 +237,7 @@ func prepareArtifactoryParams(specFile spec.File) (*specutils.CommonParams, erro func getLocalDependencies(addDepsParams *specutils.CommonParams) ([]string, error) { addDepsParams.SetPattern(clientutils.ReplaceTildeWithUserHome(addDepsParams.GetPattern())) - // Save parentheses index in pattern, witch have corresponding placeholder. + // Save parentheses index in pattern, which have corresponding placeholder. rootPath, err := fspatterns.GetRootPath(addDepsParams.GetPattern(), addDepsParams.GetTarget(), "", addDepsParams.GetPatternType(), false) if err != nil { return nil, err diff --git a/artifactory/commands/container/containermanagerbase.go b/artifactory/commands/container/containermanagerbase.go index f2dcd135..edbde486 100644 --- a/artifactory/commands/container/containermanagerbase.go +++ b/artifactory/commands/container/containermanagerbase.go @@ -61,7 +61,7 @@ func (ccb *ContainerCommandBase) SetRepo(repo string) *ContainerCommandBase { return ccb } -// Since 'RtMinVersion' version of Artifactory we can fetch the docker repository without the user input (witch is deprecated). +// Since 'RtMinVersion' version of Artifactory we can fetch the docker repository without the user input (which is deprecated). func (ccb *ContainerCommandBase) IsGetRepoSupported() (bool, error) { serviceManager, err := utils.CreateServiceManager(ccb.serverDetails, -1, 0, false) if err != nil {