cartservice: rm initContainer, fix probe query ip
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
a8508f8f74
commit
0be5e7b1e2
2 changed files with 4 additions and 17 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue