|
|
@ -218,8 +218,12 @@ func findResourcesToUpdateForDB32(dockerID string, volumesData map[string]interf
|
|
|
|
if !nameExist {
|
|
|
|
if !nameExist {
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
createTime, createTimeExist := volume["CreatedAt"].(string)
|
|
|
|
|
|
|
|
if !createTimeExist {
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
oldResourceID := fmt.Sprintf("%s%s", volumeName, volume["CreatedAt"].(string))
|
|
|
|
oldResourceID := fmt.Sprintf("%s%s", volumeName, createTime)
|
|
|
|
resourceControl, ok := volumeResourceControls[oldResourceID]
|
|
|
|
resourceControl, ok := volumeResourceControls[oldResourceID]
|
|
|
|
|
|
|
|
|
|
|
|
if ok {
|
|
|
|
if ok {
|
|
|
|