nacx commented on this pull request.
> @@ -86,10 +89,10 @@ public boolean cleanupNode(final String id) {
}
public void cleanupVirtualMachineNICs(VirtualMachine virtualMachine) {
- for (IdReference nicRef :
virtualMachine.properties().networkProfile().networkInterfaces()) {
- String nicResourceGroup = nicRef.resourceGroup();
- String nicName = nicRef.name();
- NetworkInterfaceCard nic =
api.getNetworkInterfaceCardApi(nicRef.resourceGroup()).get(nicName);
+ for (NetworkInterface nicRef :
virtualMachine.properties().networkProfile().networkInterfaces()) {
Well, it is actually a reference to a network interface card, since it just
holds its ID and a flag indicating if it is the primary one.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/386#discussion_r113631661