Skip to content
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

Fix link and output user and pass #241

Merged
merged 1 commit into from
Jun 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions airflow/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func Start(airflowHome string, envFile string) error {
parts := strings.Split(config.CFG.WebserverPort.GetString(), ":")
fmt.Printf(messages.COMPOSE_LINK_WEBSERVER+"\n", parts[len(parts)-1])
fmt.Printf(messages.COMPOSE_LINK_POSTGRES+"\n", config.CFG.PostgresPort.GetString())
fmt.Printf(messages.COMPOSE_USER_PASSWORD + "\n")

return nil
}
Expand Down
3 changes: 2 additions & 1 deletion messages/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ var (
COMPOSE_PAUSE_ERROR = "Error pausing project containers"
COMPOSE_RECREATE_ERROR = "Error building, (re)creating or starting project containers"
COMPOSE_PUSHING_IMAGE_PROMPT = "Pushing image to Astronomer registry"
COMPOSE_LINK_WEBSERVER = "Airflow Webserver: http://localhost:%s/admin/"
COMPOSE_LINK_WEBSERVER = "Airflow Webserver: http://localhost:%s/home"
COMPOSE_LINK_POSTGRES = "Postgres Database: localhost:%s/postgres"
COMPOSE_USER_PASSWORD = "The default credentials are admin:admin"

ENV_PATH = "Error looking for \"%s\""
ENV_FOUND = "Env file \"%s\" found. Loading...\n"
Expand Down