mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #43275 from lvjiangzhao/fix-typo-170317
Automatic merge from submit-queue (batch tested with PRs 43275, 45014, 46449, 46488, 46525) Fix typo **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
This commit is contained in:
commit
28996ac6c3
@ -26,7 +26,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api/v1"
|
"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) {
|
func ParseTaint(st string) (v1.Taint, error) {
|
||||||
var taint v1.Taint
|
var taint v1.Taint
|
||||||
parts := strings.Split(st, "=")
|
parts := strings.Split(st, "=")
|
||||||
|
Loading…
Reference in New Issue
Block a user