Skip to content

Commit

Permalink
add missing digitalocean monitoring flag (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrIncompetent authored Feb 12, 2018
1 parent c34a3f6 commit da446a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cloudprovider/provider/digitalocean/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type Config struct {
Backups bool `json:"backups"`
IPv6 bool `json:"ipv6"`
PrivateNetworking bool `json:"private_networking"`
Monitoring bool `json:"monitoring"`
Tags []string `json:"tags"`
}

Expand Down Expand Up @@ -230,6 +231,7 @@ func (p *provider) Create(machine *v1alpha1.Machine, userdata string) (instance.
IPv6: c.IPv6,
PrivateNetworking: c.PrivateNetworking,
Backups: c.Backups,
Monitoring: c.Monitoring,
UserData: userdata,
SSHKeys: []godo.DropletCreateSSHKey{{Fingerprint: fingerprint}},
Tags: append(c.Tags, string(machine.UID)),
Expand Down

0 comments on commit da446a9

Please sign in to comment.