fixed temp vars
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
9dae1ca401
commit
e6232185e3
|
@ -22,7 +22,7 @@ type Server struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
dsn := "postgres://postgres:secret@u0k.de:5432/postgres?sslmode=disable"
|
dsn := "postgres://postgres:secret@postgres:5432/postgres?sslmode=disable"
|
||||||
|
|
||||||
store, err := postgres.NewStore(dsn)
|
store, err := postgres.NewStore(dsn)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -48,7 +48,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateServers(serverString string, store steamServer.Store) {
|
func updateServers(serverString string, store steamServer.Store) {
|
||||||
url := "http://localhost:8090/server/" + serverString
|
url := "http://steam-server-api:8080/server/" + serverString
|
||||||
|
|
||||||
reqClient := http.Client {
|
reqClient := http.Client {
|
||||||
Timeout: time.Second * 10,
|
Timeout: time.Second * 10,
|
||||||
|
|
Loading…
Reference in New Issue