Fix 77515 Deprecate the option to enable the log handler for apiserver

k3s-v1.15.3
Rohit Sardesai 2019-05-08 22:36:52 +05:30
parent 22b6c69983
commit a50273f9d4
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) {
fs.BoolVar(&s.EnableLogsHandler, "enable-logs-handler", s.EnableLogsHandler,
"If true, install a /logs handler for the apiserver logs.")
fs.MarkDeprecated("enable-logs-handler", "This flag will be removed in v1.19")
// Deprecated in release 1.9
fs.StringVar(&s.SSHUser, "ssh-user", s.SSHUser,