Add some resources and data-resources, fix bugs

This commit is contained in:
stSolo
2022-03-18 20:49:16 +03:00
parent 9379289e58
commit bf179b9d12
17 changed files with 1962 additions and 177 deletions

View File

@@ -55,7 +55,7 @@ func utilityImageCheckPresence(d *schema.ResourceData, m interface{}) (*Image, e
image := &Image{}
if err := json.Unmarshal([]byte(resp), image); err != nil {
return nil, errors.New(fmt.Sprintf(resp, " ", image))
return nil, errors.New(fmt.Sprint("Can not unmarshall data to image: ", resp, " ", image))
}
return image, nil