Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V2] fix: fixing codespell errors #1480

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
with:
check_filenames: true
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,crd-csi-snapshot-ga.yaml,crd-csi-snapshot.yaml
ignore_words_list: "AKS,aks"
ignore_words_list: "AKS,aks,ro"
2 changes: 1 addition & 1 deletion cmd/az-analyze/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ driverNamespace: "" # default is "azure-disk-csi"
|--pod \<pod-name\>|Show all azVolumes/azVolumesAttachments that are used by a given pod.|
|--node \<node-name\>|Show all azVolumesAttachments that are present in a given node.|
|--zone \<zone-name\>|Show all azVolumesAttachments that are present in a given zone.|
|--namespace \<pod-namespace\>|Specify the namespace of the pod. If it's not specified, default namesapce is used.|
|--namespace \<pod-namespace\>|Specify the namespace of the pod. If it's not specified, default namespace is used.|
4 changes: 2 additions & 2 deletions cmd/az-log/cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
// getCmd represents the get command
var getCmd = &cobra.Command{
Use: "get",
Short: "Fetching logs of pods in kube-system namesapce",
Long: `Fetching logs of pods in kube-system namesapce`,
Short: "Fetching logs of pods in kube-system namespace",
Long: `Fetching logs of pods in kube-system namespace`,
Run: func(cmd *cobra.Command, args []string) {
if len(args) == 0 {
fmt.Printf("You must specify which source to retrieve and process logs from to \"%s\".\n", cmd.Name())
Expand Down
2 changes: 1 addition & 1 deletion pkg/azuredisk/azuredisk_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func (d *DriverV2) Run(endpoint, kubeconfig string, disableAVSetNodes, testingMo
// Driver d acts as IdentityServer, ControllerServer and NodeServer
s.Start(endpoint, d, d, d, testingMock)

// Start sending hearbeat and mark node as ready
// Start sending heartbeat and mark node as ready
if d.config.NodeConfig.Enabled {
go d.runAzDriverNodeHeartbeatLoop(ctx)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/azuredisk/controllerserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ func TestGetSnapshotInfo(t *testing.T) {
expectedError: nil,
},
{
// case insentive check
// case insensitive check
snapshotID: "testurl/subscriptions/12/resourcegroups/23/providers/Microsoft.Compute/snapshots/snapshot-name",
expectedSnapshotName: "snapshot-name",
expectedRGName: "23",
Expand Down
2 changes: 1 addition & 1 deletion pkg/azureutils/azure_disk_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ func TestGetResourceGroupFromURI(t *testing.T) {
expectError: false,
},
{
// case insentive check
// case insensitive check
diskURL: "/subscriptions/4be8920b-2978-43d7-axyz-04d8549c1d05/resourcegroups/azure-k8s1102/providers/Microsoft.Compute/disks/andy-mghyb1102-dynamic-pvc-f7f014c9-49f4-11e8-ab5c-000d3af7b38e",
expectedResult: "azure-k8s1102",
expectError: false,
Expand Down
2 changes: 1 addition & 1 deletion pkg/optimization/device_perf_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

// IsValidPerfProfile Checks to see if perf profile passed is correct
// Right now we are only supporing basic profile
// Right now we are only supporting basic profile
// Other advanced profiles to come later
func IsValidPerfProfile(profile string) bool {
return isPerfTuningEnabled(profile) || strings.EqualFold(profile, consts.PerfProfileNone)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (t *PodFailoverWithReplicas) Run(client clientset.Interface, namespace *v1.
}

ginkgo.By("Verifying that pod got created on the correct node.")
// verfiy that the pod failed over the replica node
// verify that the pod failed over the replica node
podObjs, err := podutil.GetPodsForDeployment(tDeployment.Client, tDeployment.Deployment)
framework.ExpectNoError(err)
for _, podObj := range podObjs.Items {
Expand Down