1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-19 18:30:38 +00:00

Merge pull request #427 from galal-hussein/remove_taint_timestamp

Remove timestamp from taint
This commit is contained in:
Alena Prokharchyk
2018-03-21 15:11:04 -07:00
committed by GitHub

View File

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