mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
componentconfig: fix proxy mode set func
This commit is contained in:
parent
5a6cf15c09
commit
044b69cbda
@ -54,8 +54,7 @@ func (v IPVar) Type() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *ProxyMode) Set(s string) error {
|
func (m *ProxyMode) Set(s string) error {
|
||||||
nm := ProxyMode(s)
|
*m = ProxyMode(s)
|
||||||
m = &nm
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user