Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eskimo committed Jul 7, 2022
1 parent f5f31fd commit 38d59e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ boolean shouldInstall(KubernetesServicesConfigWrapper kubeServicesConfig, String
KubernetesServicesConfigWrapper kubeServicesConfig = configurationService.loadKubernetesServicesConfig();

String kubeMasterNode = servicesInstallationStatus.getFirstNode(KUBE_MASTER);
if (StringUtils.isBlank(kubeMasterNode) && kubeServicesConfig.hasEnabledServices()) {
if (kubeServicesConfig == null || StringUtils.isBlank(kubeMasterNode) && kubeServicesConfig.hasEnabledServices()) {
logger.warn("Kubernetes is not installed");
}

Expand Down

0 comments on commit 38d59e1

Please sign in to comment.