mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
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:
parent
dd54ce4481
commit
e82477ea5c
36 changed files with 101 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue