droplet.ForceHypervisor for binding it there
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8e33396b4a
commit
dc2dba2655
|
@ -32,6 +32,7 @@ message Droplet {
|
||||||
int64 starts = 17; // how many times a start has been attempted
|
int64 starts = 17; // how many times a start has been attempted
|
||||||
string current_hypervisor = 18; // the current hypervisor the droplet is running on
|
string current_hypervisor = 18; // the current hypervisor the droplet is running on
|
||||||
google.protobuf.Timestamp last_poll = 19; // the last time we heard anything from this droplet
|
google.protobuf.Timestamp last_poll = 19; // the last time we heard anything from this droplet
|
||||||
|
string force_hypervisor = 20; // use this hypervisor and this hypervisor only
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DropletState {
|
enum DropletState {
|
||||||
|
|
|
@ -124,3 +124,7 @@ func (c *Cluster) BlankFields() {
|
||||||
d.CurrentState = 0
|
d.CurrentState = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *Cluster) AppendEvent(e *Event) {
|
||||||
|
c.Events = append(c.Events, e)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue