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

let wrapped steps expose their inner step name #9

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

mwhooker
Copy link
Contributor

@mwhooker mwhooker commented Mar 15, 2017

In Packer, we wrap steps depending on the value of -on-error. This works fine, but when we print the step names, the steps appear as abortStep or as askStep.

This PR adds an interface that steps can implement to get their inner step name into the debug output properly.

Will fix hashicorp/packer#4670

this is the companion PR to hashicorp/packer#4672

@mitchellh mitchellh merged commit 391576a into mitchellh:master Mar 16, 2017
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.

debug output of googlecompute shows askStep instead of actual step names
2 participants