Skip to content

Commit

Permalink
Merge pull request #96 from leakingtapan/misspell
Browse files Browse the repository at this point in the history
Fix misspelling
  • Loading branch information
k8s-ci-robot authored Nov 6, 2018
2 parents 9db0a85 + e651372 commit 146ddf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/cloud/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type Cloud interface {
DetachDisk(ctx context.Context, volumeID string, nodeID string) (err error)
GetDiskByName(ctx context.Context, name string, capacityBytes int64) (disk *Disk, err error)
GetDiskByID(ctx context.Context, volumeID string) (disk *Disk, err error)
IsExistInstance(ctx context.Context, nodeID string) (sucess bool)
IsExistInstance(ctx context.Context, nodeID string) (success bool)
}

type cloud struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/cloud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func TestAttachDisk(t *testing.T) {
t.Fatal("AttachDisk() failed: expected error, got nothing")
}
if !strings.HasPrefix(devicePath, "/dev/") {
t.Fatal("AttachDisk() failed: expected valid device path, got emtpy string")
t.Fatal("AttachDisk() failed: expected valid device path, got empty string")
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/devicemanager/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type NameAllocator interface {
GetNext(existingNames ExistingNames) (name string, err error)

// Deprioritize the device name so as it can't be used immediately again
Deprioritize(choosen string)
Deprioritize(chosen string)
}

type nameAllocator struct {
Expand Down

0 comments on commit 146ddf9

Please sign in to comment.