Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #64 from tharinduwijewardane/master_deploy
Browse files Browse the repository at this point in the history
Impl CLI command to deploy apps - change user msg
  • Loading branch information
tharinduwijewardane authored Oct 31, 2019
2 parents 602ec5f + 1d51d05 commit 6021f3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/cmd/application/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func runDeployAppCommand(cliContext runtime.CliContext) func(cmd *cobra.Command,
if err != nil {
common.ExitWithError(cliContext.Out(), "Error occurred while deploying the application. Reason: ", err)
} else {
common.PrintInfo(cliContext.Out(), "Deployment request submitted. Once deployed the app can be accessed from "+deploymentUrl)
common.PrintInfo(cliContext.Out(), "Deployment request submitted! Once deployed, the app can be accessed from: "+deploymentUrl)
}
}
}
2 changes: 1 addition & 1 deletion internal/pkg/cmd/application/deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ func TestNewDeployCommand(t *testing.T) {
})
deployCommand.Run(nil, []string{"https://github.com/someuser/myapp"})

expect := "Deployment request submitted. Once deployed the app can be accessed from https://development.choreo.dev/choreapps/123456/myapp" + "\n"
expect := "Deployment request submitted! Once deployed, the app can be accessed from: https://development.choreo.dev/choreapps/123456/myapp" + "\n"
test.AssertString(t, expect, b.String(), "Deployment command output is not as expected")
}

0 comments on commit 6021f3c

Please sign in to comment.