Skip to content

fix: Cloud missing_config should name config context add #651

Description

@margaretjgu

src/lib/cloud-client.ts tells users to elastic config set. That command is config current-context set. Cloud setup is elastic config context add <name> --cloud-url … --cloud-api-key ….

Same string on missing Cloud block and missing api_key.

This is Cloud-specific. #631 covers the generic no-file path.

Acceptance: unset Cloud on a context, run elastic cloud orgs list-organizations --json. error.message names elastic config context add and --cloud-api-key. No config set.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cloudElastic CloudenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions