Skip to content

Commit

Permalink
Add missing now_min helper
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsca committed Sep 4, 2020
1 parent 23bbb90 commit e5a4e37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jobs/validate/vault-spec
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ relations:
EOF
}

function now_min
{
echo $(( $(date '+%s') / 60 ))
}

function juju::wait
{
# We can only wait for Vault to be ready to unseal. The test itself has to
Expand Down

0 comments on commit e5a4e37

Please sign in to comment.