diff --git a/pkg/executor/internal/calibrateresource/calibrate_resource.go b/pkg/executor/internal/calibrateresource/calibrate_resource.go index d380b379274e3..8830ac0cbe0a6 100644 --- a/pkg/executor/internal/calibrateresource/calibrate_resource.go +++ b/pkg/executor/internal/calibrateresource/calibrate_resource.go @@ -698,7 +698,6 @@ func fetchStoreMetrics(serversInfo []infoschema.ServerInfo, serverType string, o err = onResp(srv.Address, resp) resp.Body.Close() return err - } if firstErr == nil { firstErr = errors.Errorf("no server with type '%s' is found", serverType)