fix listing container for creating containers
checkSource is not set for creating container
@@ -613,10 +613,12 @@ func scanContainer(row scannable) (SavedContainer, error) {
return SavedContainer{}, err
}
+ if checkSourceBlob != nil {
err = json.Unmarshal(checkSourceBlob, &container.CheckSource)
if err != nil {
return SavedContainer{}, err
}
+ }
if len(resourceTypeVersion) > 0 {
err = json.Unmarshal(resourceTypeVersion, &container.ResourceTypeVersion)
