Skip to content

Commit 69f4dd8

Browse files
committed
fix: refactor timestamp conversion in InfoForWorkload function to use nanosecs
1 parent 26265c6 commit 69f4dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/v1/deployment/queries.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func InfoForWorkload(ctx context.Context, workload workload.Workload) (*Deployme
8888

8989
var timestamp *time.Time
9090
if ts := workload.GetRolloutCompleteTime(); ts > 0 {
91-
t := time.Unix(ts, 0)
91+
t := time.Unix(0, ts)
9292
timestamp = &t
9393
}
9494

0 commit comments

Comments
 (0)