diff --git a/vendor/github.com/digitalocean/godo/droplets.go b/vendor/github.com/digitalocean/godo/droplets.go index 9e210d60b1..797c70ed80 100644 --- a/vendor/github.com/digitalocean/godo/droplets.go +++ b/vendor/github.com/digitalocean/godo/droplets.go @@ -204,6 +204,7 @@ type DropletCreateRequest struct { Backups bool `json:"backups"` IPv6 bool `json:"ipv6"` PrivateNetworking bool `json:"private_networking"` + Monitoring bool `json:"monitoring"` UserData string `json:"user_data,omitempty"` Volumes []DropletCreateVolume `json:"volumes,omitempty"` Tags []string `json:"tags"` @@ -219,6 +220,7 @@ type DropletMultiCreateRequest struct { Backups bool `json:"backups"` IPv6 bool `json:"ipv6"` PrivateNetworking bool `json:"private_networking"` + Monitoring bool `json:"monitoring"` UserData string `json:"user_data,omitempty"` Tags []string `json:"tags"` } diff --git a/vendor/github.com/digitalocean/godo/droplets_test.go b/vendor/github.com/digitalocean/godo/droplets_test.go index 18855a016e..d7420e4ae1 100644 --- a/vendor/github.com/digitalocean/godo/droplets_test.go +++ b/vendor/github.com/digitalocean/godo/droplets_test.go @@ -165,6 +165,7 @@ func TestDroplets_Create(t *testing.T) { "backups": false, "ipv6": false, "private_networking": false, + "monitoring": false, "volumes": []interface{}{ map[string]interface{}{"name": "hello-im-a-volume"}, map[string]interface{}{"id": "hello-im-another-volume"}, @@ -224,6 +225,7 @@ func TestDroplets_CreateMultiple(t *testing.T) { "backups": false, "ipv6": false, "private_networking": false, + "monitoring": false, "tags": []interface{}{"one", "two"}, } diff --git a/vendor/github.com/digitalocean/godo/godo_test.go b/vendor/github.com/digitalocean/godo/godo_test.go index 8ac622054d..f16377fbde 100644 --- a/vendor/github.com/digitalocean/godo/godo_test.go +++ b/vendor/github.com/digitalocean/godo/godo_test.go @@ -133,7 +133,7 @@ func TestNewRequest(t *testing.T) { inBody, outBody := &DropletCreateRequest{Name: "l"}, `{"name":"l","region":"","size":"","image":0,`+ `"ssh_keys":null,"backups":false,"ipv6":false,`+ - `"private_networking":false,"tags":null}`+"\n" + `"private_networking":false,"monitoring":false,"tags":null}`+"\n" req, _ := c.NewRequest("GET", inURL, inBody) // test relative URL was expanded @@ -161,7 +161,7 @@ func TestNewRequest_withUserData(t *testing.T) { inBody, outBody := &DropletCreateRequest{Name: "l", UserData: "u"}, `{"name":"l","region":"","size":"","image":0,`+ `"ssh_keys":null,"backups":false,"ipv6":false,`+ - `"private_networking":false,"user_data":"u","tags":null}`+"\n" + `"private_networking":false,"monitoring":false,"user_data":"u","tags":null}`+"\n" req, _ := c.NewRequest("GET", inURL, inBody) // test relative URL was expanded diff --git a/vendor/manifest b/vendor/manifest index 46e7b1c318..46999e24e4 100644 --- a/vendor/manifest +++ b/vendor/manifest @@ -87,7 +87,7 @@ "importpath": "github.com/digitalocean/godo", "repository": "https://github.com/digitalocean/godo", "vcs": "git", - "revision": "758b5be38ee8c630b0db89b00b7b87f064839099", + "revision": "7c9bf156916c9a1bf90936231549388231dd5d4e", "branch": "master" }, {