Skip to content

Commit 405bca0

Browse files
sync: update external libs (#991)
Co-authored-by: kononovn <[email protected]>
1 parent 544b0e7 commit 405bca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/schemes/nvidiagpu/nvidiagputypes/clusterpolicy_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ func imagePath(repository string, image string, version string, imagePathEnvName
17511751
}
17521752

17531753
// 3. If both are not set, error out
1754-
return "", fmt.Errorf("Empty image path provided through both ClusterPolicy CR and ENV %s", imagePathEnvName)
1754+
return "", fmt.Errorf("empty image path provided through both ClusterPolicy CR and ENV %s", imagePathEnvName)
17551755
}
17561756

17571757
// ImagePath sets image path for given component type
@@ -1815,7 +1815,7 @@ func ImagePath(spec interface{}) (string, error) {
18151815
config := spec.(*CCManagerSpec)
18161816
return imagePath(config.Repository, config.Image, config.Version, "CC_MANAGER_IMAGE")
18171817
default:
1818-
return "", fmt.Errorf("Invalid type to construct image path: %v", v)
1818+
return "", fmt.Errorf("invalid type to construct image path: %v", v)
18191819
}
18201820
}
18211821

0 commit comments

Comments
 (0)