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