diff --git a/cmd/kubeapps-apis/plugins/helm/packages/v1alpha1/server.go b/cmd/kubeapps-apis/plugins/helm/packages/v1alpha1/server.go index 43dce78d3cf..ec2a038d488 100644 --- a/cmd/kubeapps-apis/plugins/helm/packages/v1alpha1/server.go +++ b/cmd/kubeapps-apis/plugins/helm/packages/v1alpha1/server.go @@ -104,8 +104,9 @@ func NewServer(configGetter core.KubernetesConfigGetter, globalPackagingCluster // If no config is provided, we default to the existing values for backwards // compatibility. pluginConfig := common.NewDefaultPluginConfig() + var err error if pluginConfigPath != "" { - pluginConfig, err := common.ParsePluginConfig(pluginConfigPath) + pluginConfig, err = common.ParsePluginConfig(pluginConfigPath) if err != nil { log.Fatalf("%s", err) }