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