Skip to content

Commit c0d8dc0

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(build.go): remove domain check and modify success msg
1 parent c83af6f commit c0d8dc0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,9 @@ func build(conf *Config, builderKey, gitSha string) error {
269269
if !ok {
270270
return fmt.Errorf("No release returned from Deis controller")
271271
}
272-
if buildHookResp.Domains == nil || len(buildHookResp.Domains) == 0 {
273-
return fmt.Errorf("No domains returned from Deis controller")
274-
}
275-
domain := buildHookResp.Domains[0]
276272

277273
log.Info("Done, %s:v%d deployed to Deis", appName, release)
278-
log.Info(fmt.Sprintf("http://%s", domain))
274+
log.Info("Use 'deis open' to view this application in your browser")
279275
log.Info("To learn more, use 'deis help' or visit http://deis.io")
280276

281277
gcCmd := repoCmd(repoDir, "git", "gc")

0 commit comments

Comments
 (0)