[skip ci] fix format of result for s3 object verification in syspec
This commit is contained in:
parent
a7cf154695
commit
756b29006c
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ fun Prov.verify(s3ObjectSpec: S3ObjectSpec) {
|
||||||
|
|
||||||
verify(
|
verify(
|
||||||
actualAge <= expectedAge,
|
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}"
|
"--- modified date: $lastModified - size: ${(latestObject.size)} B - key: ${latestObject.key}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue