Skip to content

Commit

Permalink
Merge pull request #465 from caozhuozi/fix/error-log
Browse files Browse the repository at this point in the history
bugfix: change log level from error to info
  • Loading branch information
k8s-ci-robot committed Apr 11, 2024
2 parents bc84c2d + 7ad63e5 commit dc4e619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/generators/openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ func defaultFromComments(comments []string, commentPath string, t *types.Type) (

var i interface{}
if id, ok := parseSymbolReference(tag, commentPath); ok {
klog.Errorf("%v, %v", id, commentPath)
klog.V(5).Infof("%v, %v", id, commentPath)
return nil, &id, nil
} else if err := json.Unmarshal([]byte(tag), &i); err != nil {
return nil, nil, fmt.Errorf("failed to unmarshal default: %v", err)
Expand Down

0 comments on commit dc4e619

Please sign in to comment.