Debug Compute and Disk resource logic

This commit is contained in:
Sergey Shubin svs1370
2021-03-18 20:08:04 +03:00
parent 7d589e3276
commit 9814df8700
12 changed files with 54 additions and 42 deletions

View File

@@ -31,7 +31,7 @@ import (
)
func Jo2JSON(arg_str string) string {
// DECS API historically returns response in the form of Python dictionary, which generally
// DECORT API historically returns response in the form of Python dictionary, which generally
// looks like JSON, but does not comply with JSON syntax.
// For Golang JSON Unmarshal to work properly we need to pre-process API response as follows:
ret_string := strings.Replace(string(arg_str), "u'", "\"", -1)