lib/providers/hpcloud/network.rb in lorj-1.0.1 vs lib/providers/hpcloud/network.rb in lorj-1.0.2
- old
+ new
@@ -34,13 +34,13 @@
oNetworkConnect.subnets.all(sQuery)
end
def self.create_subnetwork(oNetworkConnect, oNetwork, name)
oNetworkConnect.subnets.create(
- :network_id => oNetwork.id,
- :name => name,
- :cidr => get_next_subnet(oNetworkConnect),
- :ip_version => '4'
+ :network_id => oNetwork.id,
+ :name => name,
+ :cidr => get_next_subnet(oNetworkConnect),
+ :ip_version => '4'
)
end
def self.delete_subnetwork(oNetworkConnect, oSubNetwork)
oNetworkConnect.subnets.get(oSubNetwork.id).destroy