bernardodemarco commented on PR #10790:
URL: https://github.com/apache/cloudstack/pull/10790#issuecomment-3481269741

   > the difference between value= and value=“” is significant
   
   @DaanHoogland, actually, CloudMonkey sets value to be an empty string in 
both cases:
   
   - `update configuration name="alert.email.addresses" value=`:
   
   ```
   2025-11-03 15:59:14,070 DEBUG [c.c.a.ApiServlet] 
(qtp170949260-21:[ctx-2538236c]) (logid:f10b3836) ===START===  192.168.100.1 -- 
GET  
command=updateConfiguration&name=alert.email.addresses&response=json&&value=
   2025-11-03 15:59:14,085 DEBUG [c.c.a.ApiServlet] 
(qtp170949260-21:[ctx-2538236c, ctx-da261c77]) (logid:f10b3836) ===END===  
192.168.100.1 -- GET  
command=updateConfiguration&name=alert.email.addresses&response=json&&value=
   ```
   
   - `update configuration name="alert.email.addresses" value=""`:
   
   ```
   2025-11-03 16:00:01,386 DEBUG [c.c.a.ApiServlet] 
(qtp170949260-26:[ctx-a1d04265]) (logid:29fb27ab) ===START===  192.168.100.1 -- 
GET  
command=updateConfiguration&name=alert.email.addresses&response=json&&value=
   2025-11-03 16:00:01,407 DEBUG [c.c.a.ApiServlet] 
(qtp170949260-26:[ctx-a1d04265, ctx-d82e8c2b]) (logid:29fb27ab) ===END===  
192.168.100.1 -- GET  
command=updateConfiguration&name=alert.email.addresses&response=json&&value=
   ```
   
   Thus, both API calls are valid and can be used to clear configuration values


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to