diff --git a/pkg/ccl/cliccl/demo.go b/pkg/ccl/cliccl/demo.go index 1199f50ecbcf..af2ccb084e99 100644 --- a/pkg/ccl/cliccl/demo.go +++ b/pkg/ccl/cliccl/demo.go @@ -46,7 +46,6 @@ func getLicense(clusterID uuid.UUID) (string, error) { return "", err } defer resp.Body.Close() - if resp.StatusCode != http.StatusOK { return "", errors.New("unable to connect to licensing endpoint") } diff --git a/pkg/cli/demo.go b/pkg/cli/demo.go index f99590813056..56c001b044f1 100644 --- a/pkg/cli/demo.go +++ b/pkg/cli/demo.go @@ -49,9 +49,9 @@ subcommands: e.g. "cockroach demo startrek". See --help for a full list. By default, the 'movr' dataset is pre-loaded. You can also use --empty to avoid pre-loading a dataset. -cockroach demo attempts to connect to a Cockroach Labs server to obtain a -temporary enterprise license for demoing enterprise features and enable -telemetry back to Cockroach Labs. In order to disable this behavior, set the +cockroach demo attempts to connect to a Cockroach Labs server to obtain a +temporary enterprise license for demoing enterprise features and enable +telemetry back to Cockroach Labs. In order to disable this behavior, set the environment variable "COCKROACH_SKIP_ENABLING_DIAGNOSTIC_REPORTING". `, Example: ` cockroach demo`,