mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
util: rename ErrorLog to ErrorLogMsg to parity
as we have 2 functions for logging. one for logging with message and another one is for logging with context. renamed ErrorLog to ErrorLogMsg to log with messages. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
d4186a6880
commit
9229e84a77
@ -61,7 +61,7 @@ func (cs *ControllerServer) createBackingVolume(
|
||||
var err error
|
||||
if sID != nil {
|
||||
if err = cs.OperationLocks.GetRestoreLock(sID.SnapshotID); err != nil {
|
||||
klog.Error(util.Log(ctx, err.Error()))
|
||||
util.ErrorLog(util.Log(ctx, err.Error()))
|
||||
return status.Error(codes.Aborted, err.Error())
|
||||
}
|
||||
defer cs.OperationLocks.ReleaseRestoreLock(sID.SnapshotID)
|
||||
|
Reference in New Issue
Block a user