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

fix: apply default revision when creating debugsession #419

Merged
merged 4 commits into from
Mar 3, 2024

Conversation

DinoChiesa
Copy link
Contributor

@DinoChiesa DinoChiesa commented Mar 1, 2024

The helpfile for creating a debugsession

   apigeecli apis debugsessions create --help

...states that the revision will default to "-1". This is true but not helpful, as the --rev option is marked as required. Therefore this command won't succeed:

apigeecli apis debugsessions create --name $APIPROXY --env $ENV

This change actually uses the latest revision when no --rev flag is present.

Also a similar change for the apis/debugsessions/get command:

apigeecli apis debugsessions get --ses ${SESSIONID} --name $APIPROXY --env $ENV

And for the apis/undeploy command:

apigeecli apis undeploy --name $APIPROXY --env $ENV

@ssvaidyanathan ssvaidyanathan requested a review from srinandan March 1, 2024 20:38
@srinandan srinandan merged commit 0289868 into apigee:main Mar 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants