Commit 25792485 authored by Ziming Zhang's avatar Ziming Zhang Committed by Ziming
Browse files

fix(retention) fix empty pull time log


Signed-off-by: default avatarZiming Zhang <zziming@vmware.com>
parent f2d5f4e2
......@@ -213,7 +213,7 @@ func arn(art *selector.Candidate) string {
}
func t(tm int64) string {
if tm == 0 {
if tm <= 0 {
return ""
}
return time.Unix(tm, 0).Format("2006/01/02 15:04:05")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment