Skip to content

Commit

Permalink
lib/go/thrift/types/annotation/naming: Handle empty namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisMontagne committed Oct 23, 2024
1 parent 5252901 commit 8c3ba58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/go/thrift/types/annotation/naming/naming.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func init() {
lns := pka.GetNamespace_()
ln := pka.GetName()

if lns == "" {
if pka.Namespace_ == nil {
lns = ns
}

Expand Down

0 comments on commit 8c3ba58

Please sign in to comment.