Skip to content

Commit

Permalink
Remove dash in linux command (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
koln67 authored Sep 27, 2023
1 parent fb9f1f6 commit 825a64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagetest/utils/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func GetMountDiskPartition(diskExpectedSizeGB int) (string, error) {
if err != nil {
errorString := err.Error()
// execute lsblk without json as a backup
lsblkout, err = exec.Command(lsblkCmd, "-b", "-o", "-name,size,type").CombinedOutput()
lsblkout, err = exec.Command(lsblkCmd, "-b", "-o", "name,size,type").CombinedOutput()
if err != nil {
errorString += err.Error()
return "", fmt.Errorf("failed to execute lsblk with and without json: %s", errorString)
Expand Down

0 comments on commit 825a64a

Please sign in to comment.