-
Notifications
You must be signed in to change notification settings - Fork 12
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
Refactor step structure #30
Conversation
if err != nil { | ||
return Config{}, nil | ||
} | ||
stepconf.Print(input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we had this TODO in activate-ssh-key: TODO: log.Infof(stepconf.toString(input))
, we could solve it with this PR
I would consider the refactoring done if we can write unit tests like:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got a few minor comments, but the rest LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Checklist
Context
Refactoring step structure, updating
go-utils
and handling its breaking changes.Changes
apk_path_pattern
. This was marked to be removed on 20 August 2019. ¯_(ツ)_/¯main.go
tostep.go
Investigation details
Decisions