Skip to content

Commit 92f1e4d

Browse files
committed
update
1 parent 7e22b17 commit 92f1e4d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

deploy/yaml/gateway.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ spec:
7474
containerPort: 8080
7575
- name: httpget
7676
containerPort: 8081
77+
- name: ctrl-proxy
78+
containerPort: 8082
7779
volumeMounts:
7880
- name: config-gateway
7981
mountPath: /vanus/config

vsctl/command/grpc.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ package command
1717
import (
1818
"context"
1919
"fmt"
20+
"strconv"
21+
"strings"
22+
"time"
23+
2024
"github.com/fatih/color"
2125
"github.com/spf13/cobra"
2226
"google.golang.org/grpc"
2327
"google.golang.org/grpc/credentials/insecure"
24-
"strconv"
25-
"strings"
26-
"time"
2728
)
2829

2930
func mustGatewayProxyGRPCConn(ctx context.Context, cmd *cobra.Command) *grpc.ClientConn {

0 commit comments

Comments
 (0)