You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of preserving that in JSON, list_volumes().to_json() completely drops those KVs. Then code that expects to find 0 or None trips on this rendering code very unpredictable.
Volume with a QoS Policy ID 1 can work today, but if the user switches to Custom for whatever reason, now the key is completely missing, and only for that volume.
The text was updated successfully, but these errors were encountered:
In JSON-RPC responses some values may be
null
:Below we can see that possibility in
qos_policy_id=None
(correct).Instead of preserving that in JSON,
list_volumes().to_json()
completely drops those KVs. Then code that expects to find0
orNone
trips on this rendering code very unpredictable.Volume with a QoS Policy ID 1 can work today, but if the user switches to Custom for whatever reason, now the key is completely missing, and only for that volume.
The text was updated successfully, but these errors were encountered: