Files
nomad/nomad
Daniel Bennett 372dfd3816 msgpack: omit empty fields on NetworkResource (#23540)
the ratio of optimized/unoptimized log size in TestPlanNormalize
has been increased several times as people have added to various
structs and coincidentally bumped into the magic limit.

we encountered another such case when adding to NetworkResource,
but here we omitempty on the struct instead of bumping the limit
in the test.

this has the added benefit of reducing the serialized struct size!
which was the original intent behind this test in the first place :P
the actual value of the ratio is now 0.628... but here the
test value is only dropped down to 0.66 to leave some wiggle room.
2024-07-11 09:59:24 -05:00
..
2023-08-14 08:43:27 -05:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2024-03-21 11:44:23 -07:00
2023-10-12 12:21:48 -04:00
2024-03-11 08:52:08 +00:00