Skip to content

Commit 9e7db9c

Browse files
committed
lint
1 parent 83fd1fd commit 9e7db9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cli/internal/apiversion/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ func parsePreviewExtensionData(contentTypeValue *openapi3.MediaType) (public boo
357357
return public, name, nil
358358
}
359359

360-
func validatePreviewExtensionData(name string, public string) error {
360+
func validatePreviewExtensionData(name, public string) error {
361361
if name != "" && (public == "true") {
362362
return errors.New("both name and public = true fields are set, only one is allowed")
363363
}

0 commit comments

Comments
 (0)