From 9e0e97dad9dbf7e55ec44083f741d613fa0456ff Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 13 Feb 2022 08:29:45 +0000 Subject: [PATCH] fix spelling issues --- .github/workflows/codespell.yml | 2 +- README.md | 2 +- client/api/system/v1alpha1/api.pb.go | 2 +- client/api/system/v1alpha1/api.proto | 2 +- pkg/os/disk/api.go | 2 +- pkg/server/system/impl/types.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 2aee41d2..6466c09e 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -12,4 +12,4 @@ jobs: - uses: codespell-project/actions-codespell@master with: check_filenames: true - skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum + skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./release-tools/prow.sh diff --git a/README.md b/README.md index b46f8320..b41dde01 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ spec: ## Community, discussion, contribution, and support -Check out [development.md](./docs/DEVELOPMENT.md) for instructions to set up a development enviroment to run CSI Proxy. +Check out [development.md](./docs/DEVELOPMENT.md) for instructions to set up a development environment to run CSI Proxy. Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/). diff --git a/client/api/system/v1alpha1/api.pb.go b/client/api/system/v1alpha1/api.pb.go index 6204cf55..f76ff892 100644 --- a/client/api/system/v1alpha1/api.pb.go +++ b/client/api/system/v1alpha1/api.pb.go @@ -248,7 +248,7 @@ var xxx_messageInfo_StartServiceResponse proto.InternalMessageInfo type StopServiceRequest struct { // Service name (as listed in System\CCS\Services keys) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Forces stopping of services that has dependant services + // Forces stopping of services that has dependent services Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` diff --git a/client/api/system/v1alpha1/api.proto b/client/api/system/v1alpha1/api.proto index 25e07807..d04923e6 100644 --- a/client/api/system/v1alpha1/api.proto +++ b/client/api/system/v1alpha1/api.proto @@ -45,7 +45,7 @@ message StopServiceRequest { // Service name (as listed in System\CCS\Services keys) string name = 1; - // Forces stopping of services that has dependant services + // Forces stopping of services that has dependent services bool force = 2; } diff --git a/pkg/os/disk/api.go b/pkg/os/disk/api.go index 70cc4a9c..7b2e107f 100644 --- a/pkg/os/disk/api.go +++ b/pkg/os/disk/api.go @@ -167,7 +167,7 @@ func (DiskAPI) CreateBasicPartition(diskNumber uint32) error { cmd := fmt.Sprintf("New-Partition -DiskNumber %d -UseMaximumSize", diskNumber) out, err := utils.RunPowershellCmd(cmd) if err != nil { - return fmt.Errorf("error creating parition on disk %d: %v, %v", diskNumber, out, err) + return fmt.Errorf("error creating partition on disk %d: %v, %v", diskNumber, out, err) } return nil } diff --git a/pkg/server/system/impl/types.go b/pkg/server/system/impl/types.go index 3098ea0e..10cfd470 100644 --- a/pkg/server/system/impl/types.go +++ b/pkg/server/system/impl/types.go @@ -20,7 +20,7 @@ type StopServiceRequest struct { // Service name (as listed in System\CCS\Services keys) Name string - // Forces stopping of services that has dependant services + // Forces stopping of services that has dependent services Force bool }