Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-fbudzynski committed Dec 18, 2024
1 parent df0563b commit a8ff21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sdk/poc/generator/show_object_methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (s *Operation) withShowObjectMethods(structName string, showObjectMethodsKi
}
if !hasRequiredFieldsForIDMethod(structName, s.HelperStructs, id) {
log.Printf("[WARN]: Struct '%s' does not contain needed fields to build ID() helper method. Create the method manually in _ext file or add missing fields: %v.\n", structName, idTypeParts[id])
return nil
continue
}
s.ShowObjectMethods = append(s.ShowObjectMethods, newShowObjectIDMethod(structName, s.HelperStructs, id))
case ShowObjectTypeMethod:
Expand Down

0 comments on commit a8ff21d

Please sign in to comment.