Remove sleep
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 58s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 58s
This commit is contained in:
parent
d93c7a6da7
commit
6588bd2d45
3
main.go
3
main.go
@ -10,7 +10,6 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/sethvargo/go-githubactions"
|
"github.com/sethvargo/go-githubactions"
|
||||||
)
|
)
|
||||||
@ -108,8 +107,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
time.Sleep(10 * time.Second)
|
|
||||||
|
|
||||||
githubactions.Infof("Calling node API")
|
githubactions.Infof("Calling node API")
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
res, err := client.Do(req)
|
res, err := client.Do(req)
|
||||||
|
Loading…
Reference in New Issue
Block a user