logCurrentConfig formats the current operator configuration as a plain string
()
| 821 | |
| 822 | // logCurrentConfig formats the current operator configuration as a plain string |
| 823 | func 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 | } |
no test coverage detected