deployment: throw away golanglint-ci defaults (#439)

* deployment: throw away golanglint-ci defaults

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
Bobby DeSimone 2020-01-26 12:33:45 -08:00 committed by GitHub
parent dd54ce4481
commit e82477ea5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 101 additions and 3 deletions

View file

@ -517,6 +517,9 @@ func (o *Options) Checksum() string {
return fmt.Sprintf("%x", hash)
}
// 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.
func HandleConfigUpdate(configFile string, opt *Options, services []OptionsUpdater) *Options {
newOpt, err := NewOptionsFromConfig(configFile)
if err != nil {