mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
util: rename FatalLog to FatalLogMsg for parity
rename FatalLog to FatalLogMsg to keep functions in parity functions ends with Msg if its only message logging. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
71a6dc3ba8
commit
eeb0859f99
@ -53,7 +53,7 @@ func Log(ctx context.Context, format string) string {
|
||||
}
|
||||
|
||||
// FatalLog helps in logging fatal errors.
|
||||
func FatalLog(message string, args ...interface{}) {
|
||||
func FatalLogMsg(message string, args ...interface{}) {
|
||||
logMessage := fmt.Sprintf(message, args...)
|
||||
klog.FatalDepth(1, logMessage)
|
||||
}
|
||||
|
Reference in New Issue
Block a user