Skip to content

Commit

Permalink
fix(installer): check influxdb chart condition failed (tkestack#2243)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkxjtu committed Mar 13, 2023
1 parent 779c91f commit 4f62a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tke-installer/app/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ func (t *TKE) installInfluxDBChart(ctx context.Context) error {
LocalChartPath: constants.ChartDirName + "influxdb/",
Enable: true,
ConditionFunc: func() (bool, error) {
ok, err := apiclient.CheckDeployment(ctx, t.globalClient, t.namespace, "influxdb")
ok, err := apiclient.CheckStatefulSet(ctx, t.globalClient, t.namespace, "influxdb")
if err != nil || !ok {
return false, nil
}
Expand Down

0 comments on commit 4f62a48

Please sign in to comment.