Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "gf gen pb" api and ctrl not working well. #3076

Merged
merged 11 commits into from
Nov 8, 2023
Prev Previous commit
Next Next commit
fix a word
  • Loading branch information
joy999 committed Oct 25, 2023
commit d1a16463b503118a93d1c26a60b85d8a76257dc2
2 changes: 1 addition & 1 deletion os/gcmd/gcmd_command_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func newCommandFromObjectMeta(object interface{}, name string) (command *Command
if err = gconv.Scan(metaData, &command); err != nil {
return
}
// Name filed is necessary.
// Name field is necessary.
if command.Name == "" {
if name == "" {
err = gerror.Newf(
Expand Down