Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use current time for ctime/mtime-based CloudInit Conds
The only reason the createAt or modifiedAt variables would be zero seconds from the epoch is if the Stat call failed for an expected and potentially normal reason (file does not exist) or an unexpected reason (permission denied, etc). In either case, the current timestamp is when we first noticed the Cond change into such a state, so use the current timestamp regardless. Signed-off-by: Connor Kuehl <[email protected]>
- Loading branch information