mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
Update packngo once again
This commit is contained in:
parent
79fa978896
commit
3671bae610
@ -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{
|
||||
|
4
vendor/github.com/packethost/packngo/volumes.go
generated
vendored
4
vendor/github.com/packethost/packngo/volumes.go
generated
vendored
@ -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
|
||||
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user