[skip ci] fix format of result for s3 object verification in syspec

This commit is contained in:
az 2022-09-01 21:06:40 +02:00
parent a7cf154695
commit 756b29006c

View file

@ -127,7 +127,7 @@ fun Prov.verify(s3ObjectSpec: S3ObjectSpec) {
verify(
actualAge <= expectedAge,
"Age is $actualAge (expected: < $maxAge) for latest file with prefix \"$prefix\" " +
"Age is ${actualAge.toHours()} h (expected: <= $maxAge) for latest file with prefix \"$prefix\" " +
"--- modified date: $lastModified - size: ${(latestObject.size)} B - key: ${latestObject.key}"
)
}