pull/6/head
lvjiangzhao 2017-03-17 13:37:28 +08:00
parent 4dffb61772
commit 92fff6c9c4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ import (
"k8s.io/kubernetes/pkg/api/v1"
)
// ParseTaint parses a taint from a string. Taint must be off the format '<key>=<value>:<effect>'.
// ParseTaint parses a taint from a string. Taint must be of the format '<key>=<value>:<effect>'.
func ParseTaint(st string) (v1.Taint, error) {
var taint v1.Taint
parts := strings.Split(st, "=")