rbd: fix typo in error message

fixed typo in error message.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-06-01 14:33:27 +05:30 committed by mergify[bot]
parent a666d452bf
commit 2e978e4211

View File

@ -254,7 +254,7 @@ func createImage(ctx context.Context, pOpts *rbdVolume, cr *util.Credentials) er
if pOpts.isEncrypted() {
err = pOpts.setupEncryption(ctx)
if err != nil {
return fmt.Errorf("failed to setup encroption for image %s: %v", pOpts, err)
return fmt.Errorf("failed to setup encryption for image %s: %v", pOpts, err)
}
}