cartservice: rm initContainer, fix probe query ip

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-09 12:56:54 -07:00
parent a8508f8f74
commit 0be5e7b1e2
2 changed files with 4 additions and 17 deletions

View file

@ -19,10 +19,10 @@ func main() {
log.Printf("probe executing on port %q", port)
conn, err := grpc.DialContext(context.TODO(),
"localhost:"+port,
"127.0.0.1:"+port,
grpc.WithInsecure(),
grpc.WithBlock(),
grpc.WithTimeout(time.Second*1))
grpc.WithTimeout(time.Second*3))
if err != nil {
log.Fatalf("probe failed: failed to connect: %+v", err)
}