Skip to content

Commit

Permalink
Link to new postgres doc post cluster creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dangra committed Jul 15, 2022
1 parent a6e61fa commit 130647d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func runApiCreatePostgresCluster(cmdCtx *cmdctx.CmdContext, org string, input *a
fmt.Printf("For example: postgres://%s:%s@%s.internal:%d\n", payload.Username, payload.Password, payload.App.Name, 5432)

fmt.Println()
fmt.Println("See the postgres docs for more information on next steps, managing postgres, connecting from outside fly: https://fly.io/docs/reference/postgres/")
fmt.Println("Now you've setup postgres, here's what you need to understand: https://fly.io/docs/reference/postgres-whats-next/")
}

return payload, err
Expand Down
2 changes: 2 additions & 0 deletions internal/command/services/postgres/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ func (p *Launch) Launch(ctx context.Context) error {
fmt.Fprintf(io.Out, " Postgres port: 5433\n")
fmt.Fprintf(io.Out, " Connection string: %s\n", connStr)
fmt.Fprintf(io.Out, "Save your credentials in a secure place, you won't be able to see them again!\n")
fmt.Fprintf(io.Out, "\n")
fmt.Fprintf(io.Out, "Now you've setup postgres, here's what you need to understand: https://fly.io/docs/reference/postgres-whats-next/\n")

return nil
}
Expand Down

0 comments on commit 130647d

Please sign in to comment.