mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +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 {
|
||||
nm := ProxyMode(s)
|
||||
m = &nm
|
||||
*m = ProxyMode(s)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user