lib/kytoon/providers/openstack/server_group.rb in kytoon-1.2.4 vs lib/kytoon/providers/openstack/server_group.rb in kytoon-1.2.5
- old
+ new
@@ -26,10 +26,10 @@
attr_accessor :id
attr_accessor :name
def initialize(options={})
- @id = options[:id] || Time.now.to_i
+ @id = options[:id] || Time.now.to_f
@name = options[:name]
@servers=[]
end
def server(name)