default state to 'up'
git-svn-id: file:///home/svn/framework3/trunk@8253 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
5b0cdc2349
commit
8be92ab010
|
@ -275,6 +275,9 @@ class DBManager
|
|||
dlog("Unknown attribute for Service: #{k}")
|
||||
end
|
||||
}
|
||||
if (service.state == nil)
|
||||
service.state = "up"
|
||||
end
|
||||
if (service and service.changed?)
|
||||
service.created = Time.now
|
||||
service.save!
|
||||
|
|
Loading…
Reference in New Issue