From ac86958a3a595a497ce2d252088ceb8f734242b8 Mon Sep 17 00:00:00 2001 From: elijah quinones Date: Tue, 8 Oct 2024 16:13:11 +0000 Subject: [PATCH] Fix typos in options.go and cloud_test.go --- pkg/cloud/cloud_test.go | 2 +- pkg/driver/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cloud/cloud_test.go b/pkg/cloud/cloud_test.go index 5d3c0611d..4f43a1bc0 100644 --- a/pkg/cloud/cloud_test.go +++ b/pkg/cloud/cloud_test.go @@ -602,7 +602,7 @@ func TestCheckDesiredState(t *testing.T) { expErr error }{ { - name: "sucess: normal path", + name: "success: normal path", volumeId: "vol-001", desiredSizeGiB: 5, options: &ModifyDiskOptions{ diff --git a/pkg/driver/options.go b/pkg/driver/options.go index fc5017e9e..415e3ddc3 100644 --- a/pkg/driver/options.go +++ b/pkg/driver/options.go @@ -92,7 +92,7 @@ type Options struct { } func (o *Options) AddFlags(f *flag.FlagSet) { - f.StringVar(&o.Kubeconfig, "kubeconfig", "", "Absolute path to a kubeconfig file. The default is the emtpy string, which causes the in-cluster config to be used") + f.StringVar(&o.Kubeconfig, "kubeconfig", "", "Absolute path to a kubeconfig file. The default is the empty string, which causes the in-cluster config to be used") // Server options f.StringVar(&o.Endpoint, "endpoint", DefaultCSIEndpoint, "Endpoint for the CSI driver server")