mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
util: use ErrorLog for context based logging
use ErrorLog for context based logging for more detailed logging. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
7c24f4d597
commit
8c32045c4e
@ -158,7 +158,7 @@ func GetCryptoPassphrase(ctx context.Context, volumeID string, kms EncryptionKMS
|
||||
}
|
||||
return passphrase, nil
|
||||
}
|
||||
ErrorLogMsg(Log(ctx, "failed to get encryption passphrase for %s: %s"), volumeID, err)
|
||||
ErrorLog(ctx, "failed to get encryption passphrase for %s: %s", volumeID, err)
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user