|
|
@@ -113,7 +113,8 @@ func memberAddCommandFunc(cmd *cobra.Command, args []string) {
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitError, err)
|
|
|
}
|
|
|
- conn, err := grpc.Dial(endpoint)
|
|
|
+ // TODO: enable grpc.WithTransportCredentials(creds)
|
|
|
+ conn, err := grpc.Dial(endpoint, grpc.WithInsecure())
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitBadConnection, err)
|
|
|
}
|
|
|
@@ -142,7 +143,8 @@ func memberRemoveCommandFunc(cmd *cobra.Command, args []string) {
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitError, err)
|
|
|
}
|
|
|
- conn, err := grpc.Dial(endpoint)
|
|
|
+ // TODO: enable grpc.WithTransportCredentials(creds)
|
|
|
+ conn, err := grpc.Dial(endpoint, grpc.WithInsecure())
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitBadConnection, err)
|
|
|
}
|
|
|
@@ -177,7 +179,8 @@ func memberUpdateCommandFunc(cmd *cobra.Command, args []string) {
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitError, err)
|
|
|
}
|
|
|
- conn, err := grpc.Dial(endpoint)
|
|
|
+ // TODO: enable grpc.WithTransportCredentials(creds)
|
|
|
+ conn, err := grpc.Dial(endpoint, grpc.WithInsecure())
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitBadConnection, err)
|
|
|
}
|
|
|
@@ -197,7 +200,8 @@ func memberListCommandFunc(cmd *cobra.Command, args []string) {
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitError, err)
|
|
|
}
|
|
|
- conn, err := grpc.Dial(endpoint)
|
|
|
+ // TODO: enable grpc.WithTransportCredentials(creds)
|
|
|
+ conn, err := grpc.Dial(endpoint, grpc.WithInsecure())
|
|
|
if err != nil {
|
|
|
ExitWithError(ExitBadConnection, err)
|
|
|
}
|