1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-19 01:44:28 +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]
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,
}
}