Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upadd goal report #299
Conversation
if versionCheck { | ||
version := config.GetCurrentVersion() | ||
fmt.Printf("%d\n%s.%s [%s] (commit #%s)\n%s\n", version.AsUInt64(), version.String(), | ||
version.Channel, version.Branch, version.GetCommitHash(), config.GetLicenseInfo()) |
This comment has been minimized.
This comment has been minimized.
pzbitskiy
Sep 10, 2019
Contributor
This version printing code repeats twice in this change set plus two more times in cmd/algo[h|d]/main.go. Makes sense to implement a lib function now.
- remove duplicate code
Looks good to me |
I think that @pzbitskiy suggestion was good, but implementation has an issue - |
Thanks for applying the changes; could you also get an ok from @rotemh as well ? |
This comment has been minimized.
This comment has been minimized.
Is this PR waiting on something, or can we go ahead and merge it? |
This comment has been minimized.
This comment has been minimized.
Nope; it can be merged. |
mjiang102628 commentedSep 9, 2019