Skip to content

Commit

Permalink
fix: override go-cat title
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Mar 31, 2023
1 parent ea0b4d6 commit 2fe9b33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/go-cat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
&cli.StringFlag{Name: "git.username", Usage: "Username, if the Git repository requires HTTP Auth", EnvVars: []string{meta.GitUsernameEnvVar}},
&cli.StringFlag{Name: "git.password", Usage: "Password, if the Git repository requires HTTP Auth", EnvVars: []string{meta.GitPasswordEnvVar}},

&cli.StringFlag{Name: "title", Required: false, Usage: "Title of the catalog page"},
&cli.StringFlag{Name: "title", Usage: "Title of the infrastructure"},
}
infraFlags := []cli.Flag{
&cli.StringFlag{Name: "name", Usage: "Name of the service or endpoint"},
Expand Down
1 change: 1 addition & 0 deletions ops/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func PushWithDbQueue(cfg config.GlobalConfig, queueDB string) error {
return err
}
}
infraMetaQueue.Title = cfg.Title

err = PushFromStorage(repo, fs, infraMetaQueue, cfg)
if err != nil {
Expand Down

0 comments on commit 2fe9b33

Please sign in to comment.