Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: infrahuctl branch command uses default branch variable #145

Open
BaptisteGi opened this issue Nov 16, 2024 · 0 comments
Open

bug: infrahuctl branch command uses default branch variable #145

BaptisteGi opened this issue Nov 16, 2024 · 0 comments
Labels
type/bug Something isn't working as expected

Comments

@BaptisteGi
Copy link
Contributor

Component

infrahubctl

Infrahub SDK version

1.0.1

Current Behavior

export INFRAHUB_DEFAULT_BRANCH="DOESNTEXIST"

infrahubctl branch list
Branch: DOESNTEXIST not found.

infrahubctl branch create test
Branch: DOESNTEXIST not found.

Expected Behavior

As managing branch is branch agnostic I expect the same behavior using CTL command.

Steps to Reproduce

  • Run Infrahub
  • Install sdk + ctl
  • Export address + token
export INFRAHUB_DEFAULT_BRANCH="DOESNTEXIST"

infrahubctl branch list
Branch: DOESNTEXIST not found.

infrahubctl branch create test
Branch: DOESNTEXIST not found.

Additional Information

No response

@BaptisteGi BaptisteGi added the type/bug Something isn't working as expected label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant