MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / logCurrentConfig

Function logCurrentConfig

pkg/config/sync.go:823–834  ·  view source on GitHub ↗

logCurrentConfig formats the current operator configuration as a plain string

()

Source from the content-addressed store, hash-verified

821
822// logCurrentConfig formats the current operator configuration as a plain string
823func logCurrentConfig() {
824 currConfig := GetCurrentConfigString(internalConfig)
825 if len(currConfig) == 0 {
826 log.Info("Updated config to [(default config)]")
827 } else {
828 log.Info(fmt.Sprintf("Updated config to [%s]", currConfig))
829 }
830
831 if internalConfig.Routing.ProxyConfig != nil {
832 log.Info("Resolved proxy configuration", "proxy", internalConfig.Routing.ProxyConfig)
833 }
834}

Callers 3

SetupControllerConfigFunction · 0.85
syncConfigFromFunction · 0.85
restoreDefaultConfigFunction · 0.85

Calls 1

GetCurrentConfigStringFunction · 0.85

Tested by

no test coverage detected