diff --git a/internal/cephfs/snapshot.go b/internal/cephfs/snapshot.go index 386d8506f..a9c18675a 100644 --- a/internal/cephfs/snapshot.go +++ b/internal/cephfs/snapshot.go @@ -70,7 +70,8 @@ func (vo *volumeOptions) deleteSnapshot(ctx context.Context, snapID, volID volum err = fsa.ForceRemoveSubVolumeSnapshot(vo.FsName, vo.SubvolumeGroup, string(volID), string(snapID)) if err != nil { - util.ErrorLog(ctx, "failed to delete subvolume snapshot %s %s(%s) in fs %s", string(snapID), string(volID), err, vo.FsName) + util.ErrorLog(ctx, "failed to delete subvolume snapshot %s %s in fs %s: %s", + string(snapID), string(volID), vo.FsName, err) return err } return nil