mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 13:18:47 +00:00
Remove timestamp from taint
This commit is contained in:
@@ -225,9 +225,8 @@ func toTaint(taintStr string) v1.Taint {
|
||||
value := tmp[0]
|
||||
effect := v1.TaintEffect(tmp[1])
|
||||
return v1.Taint{
|
||||
Key: key,
|
||||
Value: value,
|
||||
Effect: effect,
|
||||
TimeAdded: metav1.Time{time.Now()},
|
||||
Key: key,
|
||||
Value: value,
|
||||
Effect: effect,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user