Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

internal/core: return error if type is ErrSentinel to signal exit codes #768

Merged
merged 2 commits into from
Nov 9, 2020

Conversation

krantzinator
Copy link
Contributor

Address #719
We were neglecting to return a non-nil error when dealing with ErrSentinel types, which is what we use most of the time.

@github-actions github-actions bot added the core label Nov 6, 2020
@krantzinator krantzinator added this to the 0.1.5 milestone Nov 7, 2020
@krantzinator krantzinator changed the title return error if type is ErrSentinel to signal exit codes internal/core: return error if type is ErrSentinel to signal exit codes Nov 7, 2020
Copy link
Contributor

@mitchellh mitchellh left a comment

Choose a reason for hiding this comment

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

Looks great! One suggestion.

internal/cli/base.go Outdated Show resolved Hide resolved
@krantzinator
Copy link
Contributor Author

Oops! It looks like no changelog entry is attached to this PR. Please include a release note block in the PR body, as described in https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md:

```release-note:TYPE
Release note
```

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants