lib/kakine/security_group.rb in kakine-0.4.0 vs lib/kakine/security_group.rb in kakine-0.5.0

- old
+ new

@@ -10,10 +10,10 @@ @description = params[1]["description"] || "" @rules = get_rule_instances(params) || [] end def tenant_id - Kakine::Resource.get(:openstack).tenant(@tenant_name).id + Yao.current_tenant_id end def ==(target_sg) same_group?(target_sg) && same_rule?(self, target_sg) && same_rule?(target_sg, self) end