mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
util: rename WarningLog to WarningLogMsg
renamed WarningLog function to WarningLogMsg to log with message. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
f45ad230a2
commit
b223924044
@ -70,8 +70,8 @@ func ErrorLog(ctx context.Context, message string, args ...interface{}) {
|
||||
klog.ErrorDepth(1, logMessage)
|
||||
}
|
||||
|
||||
// WarningLog helps in logging warnings.
|
||||
func WarningLog(message string, args ...interface{}) {
|
||||
// WarningLogMsg helps in logging warnings with message.
|
||||
func WarningLogMsg(message string, args ...interface{}) {
|
||||
logMessage := fmt.Sprintf(message, args...)
|
||||
klog.WarningDepth(1, logMessage)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user