Skip to content

Commit 57f5817

Browse files
committed
add codespell linter to the github workflow actions
Signed-off-by: Humble Chirammal <[email protected]>
1 parent f6582f6 commit 57f5817

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

iscsi/multipath.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type path struct {
1717
Device string `json:"dev"`
1818
}
1919

20-
// ExecWithTimeout execute a command with a timeout and returns an error if timeout is excedeed
20+
// ExecWithTimeout execute a command with a timeout and returns an error if timeout is exceeded
2121
func ExecWithTimeout(command string, args []string, timeout time.Duration) ([]byte, error) {
2222
debug.Printf("Executing command '%v' with args: '%v'.\n", command, args)
2323

@@ -58,7 +58,6 @@ func FlushMultipathDevice(device *Device) error {
5858

5959
timeout := 5 * time.Second
6060
_, err := execWithTimeout("multipath", []string{"-f", devicePath}, timeout)
61-
6261
if err != nil {
6362
if _, e := osStat(devicePath); os.IsNotExist(e) {
6463
debug.Printf("Multipath device %v has been removed.\n", devicePath)
@@ -71,7 +70,7 @@ func FlushMultipathDevice(device *Device) error {
7170
}
7271
}
7372

74-
debug.Printf("Finshed flushing multipath device %v.\n", devicePath)
73+
debug.Printf("Finished flushing multipath device %v.\n", devicePath)
7574
return nil
7675
}
7776

0 commit comments

Comments
 (0)