Skip to content

Commit 7994238

Browse files
committed
fix: timestamp issue
1 parent d1eaf14 commit 7994238

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/controllers/create_instance.go

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ func (r *InstancierReconciler) CreateInstance(challengeId, instanceId string) (*
7070
},
7171
}
7272
namespaceObj.Labels["i.4ts.fr/ttl"] = fmt.Sprint(chall.Timeout)
73-
namespaceObj.Labels["i.4ts.fr/stops-at"] = time.Now().Add(time.Duration(chall.Timeout) * time.Second).Format(time.RFC3339)
7473
namespaceObj.Labels["i.4ts.fr/stops-at-timestamp"] = fmt.Sprint(time.Now().Add(time.Duration(chall.Timeout) * time.Second).Unix())
7574

7675
err := failsafe.Run(func() error {

0 commit comments

Comments
 (0)