mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix typo
This commit is contained in:
parent
4dffb61772
commit
92fff6c9c4
@ -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, "=")
|
||||
|
Loading…
Reference in New Issue
Block a user