Skip to content

fix(cli): prevent pipeline status errors#2170

Merged
mergify[bot] merged 5 commits intoaws:mainlinefrom
huanjani:pl-status
Apr 15, 2021
Merged

fix(cli): prevent pipeline status errors#2170
mergify[bot] merged 5 commits intoaws:mainlinefrom
huanjani:pl-status

Conversation

@huanjani
Copy link
Copy Markdown
Contributor

This fixes two bugs in pipeline status-- previously, the command was throwing a nil pointer error when the prompter was being used, and describe threw an error when there was no pipeline name. It was also returning the pipeline status of the pipeline found in the manifest if there were no pipelines associated with the app name passed in with the flag. Now the command behaves as expected.

Fixes #2004.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@huanjani huanjani requested a review from a team as a code owner April 13, 2021 17:11
@huanjani huanjani requested a review from iamhopaul123 April 13, 2021 17:11
@efekarakus efekarakus added do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. and removed do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. labels Apr 13, 2021
Comment thread internal/pkg/cli/pipeline_status.go Outdated
Copy link
Copy Markdown
Contributor

@Lou1415926 Lou1415926 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! A small suggestion below ⬇️

Comment thread internal/pkg/cli/pipeline_status.go Outdated
@mergify mergify Bot merged commit 2349597 into aws:mainline Apr 15, 2021
Lou1415926 pushed a commit to Lou1415926/copilot-cli that referenced this pull request Apr 20, 2021
This fixes two bugs in `pipeline status`-- previously, the command was throwing a nil pointer error when the prompter was being used, and `describe` threw an error when there was no pipeline name. It was also returning the pipeline status of the pipeline found in the manifest if there were no pipelines associated with the app name passed in with the flag. Now the command behaves as expected.

Fixes aws#2004.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Lou1415926 pushed a commit to Lou1415926/copilot-cli that referenced this pull request Apr 20, 2021
This fixes two bugs in `pipeline status`-- previously, the command was throwing a nil pointer error when the prompter was being used, and `describe` threw an error when there was no pipeline name. It was also returning the pipeline status of the pipeline found in the manifest if there were no pipelines associated with the app name passed in with the flag. Now the command behaves as expected.

Fixes aws#2004.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
@huanjani huanjani deleted the pl-status branch May 4, 2021 21:05
thrau pushed a commit to localstack/copilot-cli-local that referenced this pull request Dec 9, 2022
This fixes two bugs in `pipeline status`-- previously, the command was throwing a nil pointer error when the prompter was being used, and `describe` threw an error when there was no pipeline name. It was also returning the pipeline status of the pipeline found in the manifest if there were no pipelines associated with the app name passed in with the flag. Now the command behaves as expected.

Fixes aws#2004.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
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.

pipeline status ignores specified/selected app

5 participants