Skip to content

Commit

Permalink
refine log
Browse files Browse the repository at this point in the history
Signed-off-by: Shi, Crane <[email protected]>
  • Loading branch information
CraneShiEMC committed Aug 14, 2023
1 parent c58e911 commit 0f7c9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/node/volumemgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ func (m *VolumeManager) createFakeDeviceIfNotExist(log *logrus.Entry, vol *volum
return "", fmt.Errorf("failed to get info of fake device %s of volume %s with error: %v", fakeDevice, vol.Name, err)
}
if len(blockDevices) == 0 {
log.Warnf("re-create non-existing fake device %s", fakeDevice)
log.Warnf("fake device %s doesn't exist! re-create the fake device for volume %s", fakeDevice, vol.Name)
fakeDevice, err = m.fsOps.CreateFakeDevice(fakeDeviceSrcFilePath)
if err != nil {
return "", fmt.Errorf("failed to create fake device for volume %s with error: %v", vol.Name, err)
Expand Down

0 comments on commit 0f7c9be

Please sign in to comment.