e2e: correct int format

use %d when formatting the int
value.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2022-11-02 13:57:22 +01:00 committed by mergify[bot]
parent 0f0957164e
commit c5a6d11a8f

View File

@ -114,7 +114,7 @@ func validateSubvolumeCount(f *framework.Framework, count int, fileSystemName, s
e2elog.Failf("failed to list CephFS subvolumes: %v", err) e2elog.Failf("failed to list CephFS subvolumes: %v", err)
} }
if len(subVol) != count { if len(subVol) != count {
e2elog.Failf("subvolumes [%v]. subvolume count %d not matching expected count %v", subVol, len(subVol), count) e2elog.Failf("subvolumes [%v]. subvolume count %d not matching expected count %d", subVol, len(subVol), count)
} }
} }