@@ -258,7 +258,7 @@ func GetLatestContainerInfo(containerType string) (map[string]string, error) {
if err != nil {
return res, err
}
- containerData, ok := channel[containerType].(map[string]interface{})
+ containerData, ok := m[containerType].(map[string]interface{})
if !ok {
return nil, fmt.Errorf("%s data is not a map", containerType)