Skip to content

Commit

Permalink
Add Additional logging in Mount/Unmount/Load/Reload
Browse files Browse the repository at this point in the history
Signed-off-by: pnookala-px <[email protected]>
  • Loading branch information
pnookala-px committed Mar 18, 2024
1 parent 087056f commit 7db98ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mount/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func (m *Mounter) maybeRemoveDevice(device string) {
if info, ok := m.mounts[device]; ok {
// If the device has no more mountpoints and no mounts in progress, remove it from the map
if len(info.Mountpoint) == 0 && info.MountsInProgress == 0 {
logrus.Infof("No more mount entries for device [%s]. Removing device from MountTable")
logrus.Infof("No more mount entries for device [%s]. Removing device from MountTable", device)
delete(m.mounts, device)
}
}
Expand Down

0 comments on commit 7db98ff

Please sign in to comment.