mirror of
https://github.com/helm/helm.git
synced 2026-04-22 23:00:01 -04:00
changed Iota to FormatInt to allow int64 value preventing 2038 overflow
Signed-off-by: Trenton VanderWert <trenton.vanderwert@gmail.com>
This commit is contained in:
parent
e81f6140dd
commit
4a45342887
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ func (secrets *Secrets) Update(key string, rls *rspb.Release) error {
|
|||
|
||||
lbs.init()
|
||||
lbs.fromMap(rls.Labels)
|
||||
lbs.set("modifiedAt", strconv.Itoa(int(time.Now().Unix())))
|
||||
lbs.set("modifiedAt", strconv.FormatInt(time.Now().Unix(), 10))
|
||||
|
||||
// create a new secret object to hold the release
|
||||
obj, err := newSecretsObject(key, rls, lbs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue