mirror of
https://github.com/rancher/types.git
synced 2025-09-01 05:09:10 +00:00
Fix secret types
This commit is contained in:
@@ -75,6 +75,7 @@ func Set(data map[string]interface{}) {
|
||||
if i, err := convert.ToTimestamp(val); err == nil {
|
||||
if time.Unix(i/1000, 0).Add(5 * time.Second).Before(time.Now()) {
|
||||
data["state"] = "active"
|
||||
data["transitioning"] = "no"
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user