From 85e5a45989576204ba0248776a15f927b8c5a528 Mon Sep 17 00:00:00 2001 From: schnie Date: Thu, 20 Jun 2019 19:48:59 -0400 Subject: [PATCH] Fix link and output user and pass --- airflow/docker.go | 1 + messages/messages.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/airflow/docker.go b/airflow/docker.go index 3981bab39..5505d4727 100644 --- a/airflow/docker.go +++ b/airflow/docker.go @@ -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 } diff --git a/messages/messages.go b/messages/messages.go index 637029768..687ba7224 100644 --- a/messages/messages.go +++ b/messages/messages.go @@ -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"