Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Response to code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamara Kaufler committed Sep 13, 2017
1 parent b0141d7 commit c7dd6ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions cmd/fluxctl/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ func getUserGitconfig() map[string]string {
func userGitconfigMap(s string) map[string]string {
c := make(map[string]string)
lines := splitList(s)
if len(lines) == 0 {
return c
}
for _, l := range lines {
prop := strings.SplitN(l, "=", 2)
p := strings.TrimSpace(prop[0])
Expand Down
2 changes: 1 addition & 1 deletion cmd/fluxd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func main() {
gitPath = fs.String("git-path", "", "path within git repo to locate Kubernetes manifests (relative path)")
gitUser = fs.String("git-user", "Weave Flux", "username to use as git committer")
gitEmail = fs.String("git-email", "support@weave.works", "email to use as git committer")
gitSetAuthor = fs.Bool("git-set-author", false, "boolean to set a git author different to git committer")
gitSetAuthor = fs.Bool("git-set-author", false, "If set, the author of git commits will reflect the user who initiated the commit and will differ from the git committer.")
gitLabel = fs.String("git-label", "", "label to keep track of sync progress; overrides both --git-sync-tag and --git-notes-ref")
// Old git config; still used if --git-label is not supplied, but --git-label is preferred.
gitSyncTag = fs.String("git-sync-tag", defaultGitSyncTag, "tag to use to mark sync progress for this cluster")
Expand Down

0 comments on commit c7dd6ac

Please sign in to comment.