all: update outdated comments about OptionsUpdater interface (#1207)

In #1088, OptionsUpdater was removed, but current code still mention it.
This commit updates all comments which still mention about that
interface (authorize is exlcuded, and will be updated in #1206).
This commit is contained in:
Cuong Manh Le 2020-08-05 21:39:24 +07:00 committed by GitHub
parent 633c25feb7
commit 73abed0d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View file

@ -716,8 +716,8 @@ func (o *Options) Checksum() uint64 {
}
// handleConfigUpdate takes configuration file, an existing options struct, and
// updates each service in the services slice OptionsUpdater with a new set of
// options if any change is detected.
// returns new options if any change is detected. If no change was detected, the
// existing option will be returned.
func handleConfigUpdate(configFile string, opt *Options) *Options {
serviceName := telemetry.ServiceName(opt.Services)