Azure / draft

A day 0 tool for getting your app on k8s fast
MIT License
507 stars 59 forks source link

[draft setup-gh] Avoid log.Fatal, return errors. #111

Closed asw101 closed 2 years ago

asw101 commented 2 years ago

Fixes https://github.com/Azure/draft/issues/102

Handles the logging of command output via log.Printf("%s\n", out) vs log.Fatal. Returns errors that can be handled.

Signed-off-by: Aaron Wislang aaron.wislang@microsoft.com

asw101 commented 2 years ago

Thank you @imiller31, just squashed and signed the commits on this one too.

I may submit a follow-up draft PR to cover error handling, etc, elsewhere, as well.