Skip to content

Commit 3102e89

Browse files
authored
Merge pull request #264 from mkumatag/fix_fmt
Fix formatting issues
2 parents 305da5b + 7f4bdda commit 3102e89

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

pkg/cloud/powervs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+
1617
package cloud
1718

1819
import (

pkg/cloud/powervs_node.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+
1617
package cloud
1718

1819
import (

pkg/driver/stats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (su *VolumeStatUtils) DeviceInfo(devicePath string) (int64, error) {
6161
return gotSizeBytes, nil
6262
}
6363

64-
//FSInfo ...
64+
// FSInfo ...
6565
func (su *VolumeStatUtils) FSInfo(path string) (int64, int64, int64, int64, int64, int64, error) {
6666
return fs.Info(path)
6767
}

pkg/fibrechannel/fibrechannel.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,33 +37,33 @@ type ioHandler interface {
3737
WriteFile(filename string, data []byte, perm os.FileMode) error
3838
}
3939

40-
//Connector provides a struct to hold all of the needed parameters to make our Fibre Channel connection
40+
// Connector provides a struct to hold all of the needed parameters to make our Fibre Channel connection
4141
type Connector struct {
4242
VolumeName string
4343
TargetWWNs []string
4444
Lun string
4545
WWIDs []string
4646
}
4747

48-
//OSioHandler is a wrapper that includes all the necessary io functions used for (Should be used as default io handler)
48+
// OSioHandler is a wrapper that includes all the necessary io functions used for (Should be used as default io handler)
4949
type OSioHandler struct{}
5050

51-
//ReadDir calls the ReadDir function from ioutil package
51+
// ReadDir calls the ReadDir function from ioutil package
5252
func (handler *OSioHandler) ReadDir(dirname string) ([]os.FileInfo, error) {
5353
return ioutil.ReadDir(dirname)
5454
}
5555

56-
//Lstat calls the Lstat function from os package
56+
// Lstat calls the Lstat function from os package
5757
func (handler *OSioHandler) Lstat(name string) (os.FileInfo, error) {
5858
return os.Lstat(name)
5959
}
6060

61-
//EvalSymlinks calls EvalSymlinks from filepath package
61+
// EvalSymlinks calls EvalSymlinks from filepath package
6262
func (handler *OSioHandler) EvalSymlinks(path string) (string, error) {
6363
return filepath.EvalSymlinks(path)
6464
}
6565

66-
//WriteFile calls WriteFile from ioutil package
66+
// WriteFile calls WriteFile from ioutil package
6767
func (handler *OSioHandler) WriteFile(filename string, data []byte, perm os.FileMode) error {
6868
return ioutil.WriteFile(filename, data, perm)
6969
}
@@ -301,7 +301,7 @@ func Detach(devicePath string, io ioHandler) error {
301301
return nil
302302
}
303303

304-
//FindSlaveDevicesOnMultipath returns all slaves on the multipath device given the device path
304+
// FindSlaveDevicesOnMultipath returns all slaves on the multipath device given the device path
305305
func FindSlaveDevicesOnMultipath(dm string, io ioHandler) []string {
306306
var devices []string
307307
// Split path /dev/dm-1 into "", "dev", "dm-1"

tests/e2e/testsuites/dynamically_provisioned_reclaim_policy_tester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+
1617
package testsuites
1718

1819
import (

tests/e2e/testsuites/dynamically_provisioned_topology_aware_volume_tester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+
1617
package testsuites
1718

1819
import (

0 commit comments

Comments
 (0)