Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pysel committed Aug 9, 2023
1 parent 82997da commit ed949f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osmoutils/osmocli/query_cmd_wrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ func attachFieldsToUse[reqP proto.Message](desc *QueryDescriptor) {
for i := 0; i < v.NumField(); i++ {
fn := strings.ToLower(v.Field(i).Name)

// if a field is parsed from flag, skip it
if desc.CustomFlagOverrides[fn] != "" || osmoutils.Contains(nonAttachableFields, fn) {
continue
}
Expand Down

0 comments on commit ed949f2

Please sign in to comment.