|
@@ -33,7 +33,7 @@ func main() {
|
|
|
|
|
|
allServers := getAllServers(computeClient)
|
|
|
for _, server := range allServers {
|
|
|
- addresses := server.Addresses["VM network"].([]interface{})
|
|
|
+ addresses := server.Addresses[section.ValueOf("network_name")].([]interface{})
|
|
|
addressDetails := addresses[0].(map[string]interface{})
|
|
|
serverIP := addressDetails["addr"]
|
|
|
|