Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deardeng committed Sep 6, 2024
1 parent 8e89935 commit 73ea8d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ public String getCloudCluster(boolean updateErr) {
choseWay = "default cluster";
} else {
CloudClusterResult cloudClusterTypeAndName = getCloudClusterByPolicy();
if (!Strings.isNullOrEmpty(cloudClusterTypeAndName.clusterName)) {
if (cloudClusterTypeAndName != null && !Strings.isNullOrEmpty(cloudClusterTypeAndName.clusterName)) {
cluster = cloudClusterTypeAndName.clusterName;
choseWay = "authorized cluster";
}
Expand Down

0 comments on commit 73ea8d1

Please sign in to comment.