Skip to content

Commit 3370714

Browse files
authored
Fix formatting of error message for repository check
1 parent 8e02730 commit 3370714

File tree

1 file changed

+1
-1
lines changed
  • sca/bom/buildinfo/technologies/docker

1 file changed

+1
-1
lines changed

sca/bom/buildinfo/technologies/docker/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func GetDockerRepositoryConfig(imageName string) (*project.RepositoryConfig, err
208208
return nil, fmt.Errorf("Failed to check if repository '%s' exists on Artifactory '%s': %w", imageInfo.Repo, serverDetails.Url, err)
209209
}
210210
if !exists {
211-
return nil, fmt.Errorf("repository '%s' was not found on Artifactory (%s). Ensure the repository exists.", imageInfo.Repo, serverDetails.Url)
211+
return nil, fmt.Errorf("Repository '%s' was not found on Artifactory (%s). Ensure the repository exists.", imageInfo.Repo, serverDetails.Url)
212212
}
213213

214214
repoConfig := &project.RepositoryConfig{}

0 commit comments

Comments
 (0)