parent
c008507490
commit
132d0ac076
|
@ -23,6 +23,9 @@ func ImportXML(domcfg *libvirtxml.Domain) (*pb.Droplet, []*pb.Event, error) {
|
|||
d.Hostname = domcfg.Name
|
||||
d.Uuid = domcfg.UUID
|
||||
d.StartState = pb.DropletState_OFF
|
||||
if d.Current == nil {
|
||||
d.Current = new(pb.Current)
|
||||
}
|
||||
d.Current.State = pb.DropletState_UNKNOWN
|
||||
|
||||
alle, err := updateDroplet(d, domcfg)
|
||||
|
|
Loading…
Reference in New Issue