Skip to content

Commit 4d9f0e2

Browse files
committed
doc: fix spelling errors
1 parent 1534d0d commit 4d9f0e2

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
with:
1414
check_filenames: true
1515
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./release-tools/prow.sh,./pkg/lib/iscsi/
16-
ignore_words_list: "lun,targetportal"
16+
ignore_words_list: "AKS,aks"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ follow guide [here](./docs/install-driver-on-aks.md)
3131
- This option depends on [cloud provider config file](https://github.com/kubernetes/cloud-provider-azure/blob/master/docs/cloud-provider-config.md), usually it's `/etc/kubernetes/azure.json` on agent nodes deployed by [AKS](https://docs.microsoft.com/en-us/azure/aks/) or [aks-engine](https://github.com/Azure/aks-engine), here is [azure.json example](./deploy/example/azure.json). <details> <summary>specify a different cloud provider config file</summary></br>create `azure-cred-file` configmap before driver installation, e.g. for OpenShift, it's `/etc/kubernetes/cloud.conf` (make sure config file path is in the `volumeMounts.mountPath`)
3232
</br><pre>```kubectl create configmap azure-cred-file --from-literal=path="/etc/kubernetes/cloud.conf" --from-literal=path-windows="C:\\k\\cloud.conf" -n kube-system```</pre></details>
3333

34-
- This driver also supports [read cloud config from kuberenetes secret](./docs/read-from-secret.md) as first priority
34+
- This driver also supports [read cloud config from kubernetes secret](./docs/read-from-secret.md) as first priority
3535
- Make sure identity used by driver has `Contributor` role on node resource group
3636
- [How to set up CSI driver on Azure RedHat OpenShift(ARO)](https://github.com/ezYakaEagle442/aro-pub-storage/blob/master/setup-store-CSI-driver-azure-blob.md)
3737

pkg/blob/blob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ type Driver struct {
154154
subnetLockMap *util.LockMap
155155
// a map storing all volumes created by this driver <volumeName, accountName>
156156
volMap sync.Map
157-
// a timed cache storing acount search history (solve account list throttling issue)
157+
// a timed cache storing account search history (solve account list throttling issue)
158158
accountSearchCache *azcache.TimedCache
159159
}
160160

pkg/blob/nodeserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
260260
return nil, status.Error(codes.Internal, fmt.Sprintf("volume(%s) mount %q on %q failed with %v", volumeID, source, targetPath, err))
261261
}
262262

263-
// set permisssions for NFSv3 root folder
263+
// set permissions for NFSv3 root folder
264264
if err := os.Chmod(targetPath, os.FileMode(d.mountPermissions)); err != nil {
265265
return nil, status.Error(codes.Internal, fmt.Sprintf("Chmod(%s) failed with %v", targetPath, err))
266266
}

pkg/util/util.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ const (
3030
tagKeyValueDelimiter = "="
3131
)
3232

33-
// RoundUpBytes rounds up the volume size in bytes upto multiplications of GiB
33+
// RoundUpBytes rounds up the volume size in bytes up to multiplications of GiB
3434
// in the unit of Bytes
3535
func RoundUpBytes(volumeSizeBytes int64) int64 {
3636
return roundUpSize(volumeSizeBytes, GiB) * GiB
3737
}
3838

39-
// RoundUpGiB rounds up the volume size in bytes upto multiplications of GiB
39+
// RoundUpGiB rounds up the volume size in bytes up to multiplications of GiB
4040
// in the unit of GiB
4141
func RoundUpGiB(volumeSizeBytes int64) int64 {
4242
return roundUpSize(volumeSizeBytes, GiB)

0 commit comments

Comments
 (0)