diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..6466c09e --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,15 @@ +# GitHub Action to automate the identification of common misspellings in text files. +# https://github.com/codespell-project/actions-codespell +# https://github.com/codespell-project/codespell +name: codespell +on: [push, pull_request] +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: codespell-project/actions-codespell@master + with: + check_filenames: true + 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 }