Skip to content

Commit

Permalink
[ISSUE-1076] Fixing lint ineffectual assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Andrzej Zukowski <[email protected]>
  • Loading branch information
Andrzej-Zukowski committed Feb 7, 2024
1 parent 907c1f2 commit b2ddbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/node/provisioners/utilwrappers/partition_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (d *PartitionOperationsImpl) SearchPartName(device, partUUID string) (strin
}
// sleep first to avoid issues with lsblk caching
time.Sleep(SleepBetweenRetriesToObtainPartName)
partName, err = d.GetPartitionNameByUUID(device, partUUID)
_, err = d.GetPartitionNameByUUID(device, partUUID)
if err != nil {
ll.Warningf("Unable to find part name: %v. Sleep and retry...", err)
continue
Expand Down

0 comments on commit b2ddbff

Please sign in to comment.