From 37f5d4d719718bf9e89f88257e891de4d91240c3 Mon Sep 17 00:00:00 2001 From: aaronxu Date: Wed, 14 Dec 2016 20:07:10 -0800 Subject: [PATCH] Synchronous spellcheck for pkg/volume/* --- pkg/volume/cephfs/cephfs.go | 2 +- pkg/volume/cinder/attacher.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/volume/cephfs/cephfs.go b/pkg/volume/cephfs/cephfs.go index 258f3afa6b0..31097683299 100644 --- a/pkg/volume/cephfs/cephfs.go +++ b/pkg/volume/cephfs/cephfs.go @@ -200,7 +200,7 @@ func (cephfsVolume *cephfsMounter) GetAttributes() volume.Attributes { // Checks prior to mount operations to verify that the required components (binaries, etc.) // to mount the volume are available on the underlying node. // If not, it returns an error -func (caphfsMounter *cephfsMounter) CanMount() error { +func (cephfsMounter *cephfsMounter) CanMount() error { return nil } diff --git a/pkg/volume/cinder/attacher.go b/pkg/volume/cinder/attacher.go index ee60642a7e2..0445554c915 100644 --- a/pkg/volume/cinder/attacher.go +++ b/pkg/volume/cinder/attacher.go @@ -277,7 +277,7 @@ func (detacher *cinderDiskDetacher) Detach(deviceMountPath string, nodeName type glog.Errorf("Error detaching volume %q: %v", volumeID, err) return err } - glog.Infof("detatached volume %q from instance %q", volumeID, instanceid) + glog.Infof("detached volume %q from instance %q", volumeID, instanceid) return nil }