From 3671bae61025566071c0be2ba15725fd52e3265e Mon Sep 17 00:00:00 2001 From: Ayu Demura Date: Thu, 11 Aug 2016 13:20:15 -0400 Subject: [PATCH] Update packngo once again --- command/internal_plugin_list.go | 2 +- vendor/github.com/packethost/packngo/volumes.go | 4 ++-- vendor/vendor.json | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/command/internal_plugin_list.go b/command/internal_plugin_list.go index e4807b799276..e3fc743c3201 100644 --- a/command/internal_plugin_list.go +++ b/command/internal_plugin_list.go @@ -61,6 +61,7 @@ import ( ) var InternalProviders = map[string]plugin.ProviderFunc{ + "archive": archiveprovider.Provider, "atlas": atlasprovider.Provider, "aws": awsprovider.Provider, "azure": azureprovider.Provider, @@ -105,7 +106,6 @@ var InternalProviders = map[string]plugin.ProviderFunc{ "ultradns": ultradnsprovider.Provider, "vcd": vcdprovider.Provider, "vsphere": vsphereprovider.Provider, - "archive": archiveprovider.Provider, } var InternalProvisioners = map[string]plugin.ProvisionerFunc{ diff --git a/vendor/github.com/packethost/packngo/volumes.go b/vendor/github.com/packethost/packngo/volumes.go index c3c3e561b2e7..96ab3b6e8e42 100644 --- a/vendor/github.com/packethost/packngo/volumes.go +++ b/vendor/github.com/packethost/packngo/volumes.go @@ -56,7 +56,7 @@ type VolumeCreateRequest struct { ProjectID string `json:"project_id"` PlanID string `json:"plan_id"` FacilityID string `json:"facility_id"` - Description string `json:"Description,omitempty"` + Description string `json:"description,omitempty"` SnapshotPolicies []*SnapshotPolicy `json:"snapshot_policies,omitempty"` } @@ -82,7 +82,7 @@ type VolumeServiceOp struct { // Get returns a volume by id func (v *VolumeServiceOp) Get(volumeID string) (*Volume, *Response, error) { - path := fmt.Sprintf("%s/%s?include=facility", volumeBasePath, volumeID) + path := fmt.Sprintf("%s/%s?include=facility,snapshot_policies,attachments.device", volumeBasePath, volumeID) req, err := v.client.NewRequest("GET", path, nil) if err != nil { return nil, nil, err diff --git a/vendor/vendor.json b/vendor/vendor.json index 319059693024..d8c7daa5f0f9 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1464,10 +1464,10 @@ "revision": "3d184cea22ee1c41ec1697e0d830ff0c78f7ea97" }, { - "checksumSHA1": "bpR9eoBfEDcXrm5Q0By4cDDlXo8=", + "checksumSHA1": "MexE5QPVAwVfQcJBnMGMgD+s9L0=", "path": "github.com/packethost/packngo", - "revision": "5c74c3276242fb359a06b643437a9d8903eb76e6", - "revisionTime": "2016-07-26T11:06:53Z" + "revision": "7cd5fed006859e86dd5641a6cf9812e855b7574a", + "revisionTime": "2016-08-11T16:27:25Z" }, { "path": "github.com/pborman/uuid",