File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -100,21 +100,21 @@ func (d *KoolDeploy) Execute(args []string) (err error) {
100100
101101 var chPingDone = make (chan bool )
102102 go func () {
103- select {
104- case <- chPingDone :
105- if isVerbose {
106- fmt .Println (" - ending deploy ping routine" )
107- }
108- return
109- case <- time .After (30 * time .Second ):
110- if isVerbose {
111- fmt .Println (" - going to ping API while local build runs" )
112- }
113- if _ , err = deployer .PingDeploy (deployCreated ); err != nil {
114- d .Shell ().Error (err )
103+ for {
104+ select {
105+ case <- chPingDone :
106+ if isVerbose {
107+ fmt .Println (" - ending deploy ping routine" )
108+ }
115109 return
110+ case <- time .After (30 * time .Second ):
111+ if isVerbose {
112+ fmt .Println (" - going to ping API while local build runs" )
113+ }
114+ if _ , err = deployer .PingDeploy (deployCreated ); err != nil {
115+ d .Shell ().Error (err )
116+ }
116117 }
117- break
118118 }
119119 }()
120120
You can’t perform that action at this time.
0 commit comments