yunify / qingcloud-sdk-go

The official QingCloud SDK for the Go programming language.
Apache License 2.0
29 stars 42 forks source link

remove empty string parameter from request body #41

Closed martinyunify closed 7 years ago

martinyunify commented 7 years ago

remove empty string parameter from request body

martinyunify commented 7 years ago

closed as designed.

martinyunify commented 7 years ago

因为在拼url的时候描述为空还是会出错。如果字符串为空转换成"\"\""。这样可以吗

jolestar commented 7 years ago

那这个应该是另外一个签名的 bug。https://github.com/yunify/hostnic-cni/issues/14 这个 bug 的解决方案不应该是避免传递空字符串,而是要确认为什么在 describevxnet 的时候 vxnet 为空。否则即便是不传递,服务器端也会报错。 @martinyunify