Broker class based defaults #6430
Annotations
2 errors and 1 warning
pkg/apis/config/defaults.go#L1
Please run goimports.
diff --git a/pkg/apis/config/defaults.go b/pkg/apis/config/defaults.go
index 51a39de..1ca836c 100644
--- a/pkg/apis/config/defaults.go
+++ b/pkg/apis/config/defaults.go
@@ -117,8 +117,8 @@ func (d *Defaults) GetBrokerConfig(ns string, brokerClassName *string) (*BrokerC
return d.getBrokerConfigForEmptyClassName(ns)
}
-// getBrokerConfigByClassName returns the BrokerConfig for the given brokerClassName.
-// It first checks the namespace specific configuration, then the cluster default configuration.
+// getBrokerConfigByClassName returns the BrokerConfig for the given brokerClassName.
+// It first checks the namespace specific configuration, then the cluster default configuration.
func (d *Defaults) getBrokerConfigByClassName(ns string, brokerClassName string) (*BrokerConfig, error) {
// Check namespace specific configuration
if nsConfig, ok := d.NamespaceDefaultsConfig[ns]; ok && nsConfig != nil {
|
|
|
This job failed
Loading