Skip to content

Commit a056bbd

Browse files
Merge pull request #13 from detiber/test8080
Catch errors binding to port 8080 and exit gracefully
2 parents d7559de + 7089515 commit a056bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/master/master.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func startAllInOne() {
132132
m := master.New(masterConfig)
133133
go util.Forever(func() {
134134
glog.Infof("Started Kubernetes API at http://%s%s", kubeAddr, kubePrefix)
135-
m.Run(kubeAddr, kubePrefix)
135+
glog.Fatal(m.Run(kubeAddr, kubePrefix))
136136
}, 0)
137137

138138
// initialize kube proxy

0 commit comments

Comments
 (0)