Skip to content

Commit

Permalink
fix: new cluster steve not ready (#6440)
Browse files Browse the repository at this point in the history
  • Loading branch information
CeerDecy authored Sep 23, 2024
1 parent 0b70683 commit 0a0c08e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/apps/cmp/steve/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ func (a *Aggregator) prepareSteveServer(clusterInfo *clusterpb.ClusterInfo) {
if err := a.createPredefinedResource(clusterInfo.Name); err != nil {
logrus.Infof("failed to create predefined resource for cluster %s, %v. Skip starting steve server",
clusterInfo.Name, err)
a.server.Remove(clusterInfo.Name)
return
}
logrus.Infof("starting steve server for cluster %s", clusterInfo.Name)
Expand Down

0 comments on commit 0a0c08e

Please sign in to comment.