1
0
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:
galal-hussein
2018-03-21 23:50:34 +02:00
parent 3824db88a9
commit 6a2d51eefb

View File

@@ -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,
}
}