Skip to content

Commit d6be7e1

Browse files
authored
Merge pull request #305 from ialidzhikov/nit/fix-typos
Nit: fix typos
2 parents d6aa752 + d133038 commit d6be7e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The move of the Kubernetes Volume Snapshot feature to beta also means:
1515
* A revamp of volume snapshot APIs.
1616
* The CSI external-snapshotter sidecar is split into two controllers, a snapshot controller and a CSI external-snapshotter sidecar.
1717

18-
The snapshot controller is deployed by the Kubernetes distributions and is responsible for watching the VolumeSnapshot CRD objects and manges the creation and deletion lifecycle of snapshots.
18+
The snapshot controller is deployed by the Kubernetes distributions and is responsible for watching the VolumeSnapshot CRD objects and manages the creation and deletion lifecycle of snapshots.
1919

2020
The CSI external-snapshotter sidecar watches Kubernetes VolumeSnapshotContent CRD objects and triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint.
2121

cmd/csi-snapshotter/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func main() {
108108
factory := informers.NewSharedInformerFactory(snapClient, *resyncPeriod)
109109
coreFactory := coreinformers.NewSharedInformerFactory(kubeClient, *resyncPeriod)
110110

111-
// Add Snapshot types to the defualt Kubernetes so events can be logged for them
111+
// Add Snapshot types to the default Kubernetes so events can be logged for them
112112
snapshotscheme.AddToScheme(scheme.Scheme)
113113

114114
// Connect to CSI.

cmd/snapshot-controller/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func main() {
8787
factory := informers.NewSharedInformerFactory(snapClient, *resyncPeriod)
8888
coreFactory := coreinformers.NewSharedInformerFactory(kubeClient, *resyncPeriod)
8989

90-
// Add Snapshot types to the defualt Kubernetes so events can be logged for them
90+
// Add Snapshot types to the default Kubernetes so events can be logged for them
9191
snapshotscheme.AddToScheme(scheme.Scheme)
9292

9393
klog.V(2).Infof("Start NewCSISnapshotController with kubeconfig [%s] resyncPeriod [%+v]", *kubeconfig, *resyncPeriod)

pkg/common-controller/snapshotclass_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
func TestUpdateSnapshotClass(t *testing.T) {
3434
tests := []controllerTest{
3535
{
36-
// defualt snapshot class name should be set
36+
// default snapshot class name should be set
3737
name: "1-1 - default snapshot class name should be set",
3838
initialContents: nocontents,
3939
initialSnapshots: newSnapshotArray("snap1-1", "snapuid1-1", "claim1-1", "", "", "", &True, nil, nil, nil, false, true, nil),

0 commit comments

Comments
 (0)