Skip to content

Commit

Permalink
Merge pull request #241 from astronomer/hotfix/rbac-dashboard
Browse files Browse the repository at this point in the history
Fix link and output user and pass
  • Loading branch information
schnie committed Jun 20, 2019
2 parents 87c01a6 + 85e5a45 commit c68181c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions airflow/docker.go
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
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

0 comments on commit c68181c

Please sign in to comment.