Commit 553921b
committed
Add omitempty to MCPGroupStatus JSON fields
Add omitempty to servers and serverCount JSON tags in
MCPGroupStatus so optional fields are omitted from serialized
output when empty, consistent with other optional fields in
the struct.
Fixes #4537
Signed-off-by: Sharan Raj T <sharanrajtm@gmail.com>1 parent 9057f7a commit 553921b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments