Skip to content

Commit 5098d3b

Browse files
committed
Fix linter
1 parent 580b6ad commit 5098d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-tools/packaging/testing/package_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ func dockerName(file string, labels map[string]string) (string, error) {
454454
return "", errors.New("version label not found")
455455
}
456456

457-
parts := strings.SplitN(file, "/", -1)
457+
parts := strings.Split(file, "/")
458458
if len(parts) == 0 {
459459
return "", errors.New("failed to get file name parts")
460460
}

0 commit comments

Comments
 (0)