-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Milestone
Description
A user complains that when using a generic update command to update service properties, warnings will be displayed if the value contains equal sign. Property update will be dropped. You can refer to the following example.
>az iot hub update -n kevinzha-hub --set properties.storageEndpoints.$default.connectionString=Defau
ltEndpointsProtocol=https;AccountName=xxx;AccountKey=xxx
Property 'connection_string=_default_endpoints_protocol=https;_account_name=xxx;_account_key' not fo
und on $default. Update may be ignored.The root cause of this issue is at line 469 of arm.py. rsplit is used to parse the key and value. This means that value field can't include equal signs.
Is this by design? If not, the input key value expression shall be parsed more carefully.
I'd like to hear opinions from you guys.
Thanks very much!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.