From bf4dafa70edf5a6204a8f1c73d05c939e127d601 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Thu, 1 Apr 2021 17:06:57 +0200 Subject: [PATCH] deps: run make sync to sync vendor dir --- vendor/github.com/hashicorp/nomad/api/csi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/github.com/hashicorp/nomad/api/csi.go b/vendor/github.com/hashicorp/nomad/api/csi.go index 32dc668bc..85b3e77de 100644 --- a/vendor/github.com/hashicorp/nomad/api/csi.go +++ b/vendor/github.com/hashicorp/nomad/api/csi.go @@ -31,7 +31,7 @@ func (v *CSIVolumes) List(q *QueryOptions) ([]*CSIVolumeListStub, *QueryMeta, er // ListExternal returns all CSI volumes, as understood by the external storage // provider. These volumes may or may not be currently registered with Nomad. // The response is paginated by the plugin and accepts the -// QueryOptions.PerPage and QueryOptions.NextToken fields +// QueryOptions.PerPage and QueryOptions.NextToken fields. func (v *CSIVolumes) ListExternal(pluginID string, q *QueryOptions) (*CSIVolumeListExternalResponse, *QueryMeta, error) { var resp *CSIVolumeListExternalResponse @@ -79,7 +79,7 @@ func (v *CSIVolumes) Register(vol *CSIVolume, w *WriteOptions) (*WriteMeta, erro return meta, err } -// Register deregisters a single CSIVolume from Nomad. The volume will not be deleted from the external storage provider. +// Deregister deregisters a single CSIVolume from Nomad. The volume will not be deleted from the external storage provider. func (v *CSIVolumes) Deregister(id string, force bool, w *WriteOptions) error { _, err := v.client.delete(fmt.Sprintf("/v1/volume/csi/%v?force=%t", url.PathEscape(id), force), nil, w) return err