(flag flag.MegabytesWithUnlimited)
| 78 | } |
| 79 | |
| 80 | func convertMegabytesFlagToNullInt(flag flag.MegabytesWithUnlimited) *types.NullInt { |
| 81 | if !flag.IsSet { |
| 82 | return nil |
| 83 | } |
| 84 | |
| 85 | return &types.NullInt{IsSet: true, Value: flag.Value} |
| 86 | } |
| 87 | |
| 88 | func convertIntegerLimitFlagToNullInt(flag flag.IntegerLimit) *types.NullInt { |
| 89 | if !flag.IsSet { |