From d4287d1dde75ebc5a9be268ee4c8f5f5b4d96056 Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Fri, 2 Sep 2022 09:09:04 -0500 Subject: [PATCH] el2g: Fix branding typos Signed-off-by: Andy Doan --- subcommands/el2g/aws.go | 4 ++-- subcommands/el2g/cmd.go | 2 +- subcommands/el2g/gateway.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/subcommands/el2g/aws.go b/subcommands/el2g/aws.go index e695dcc8..1f965586 100644 --- a/subcommands/el2g/aws.go +++ b/subcommands/el2g/aws.go @@ -15,7 +15,7 @@ import ( func init() { awsCmd := &cobra.Command{ Use: "config-aws-iot", - Short: "Setup EdgeLock2Go support in AWS IOT", + Short: "Setup EdgeLock 2Go support in AWS IOT", Run: doAwsIOT, } cmd.AddCommand(awsCmd) @@ -28,7 +28,7 @@ func doAwsIOT(cmd *cobra.Command, args []string) { resp := run("/usr/bin/env", "aws", "iot", "get-registration-code") fmt.Println(" |->", resp["registrationCode"]) - fmt.Println("Configuring EdgeLock2Go") + fmt.Println("Configuring EdgeLock 2Go") cert, err := api.El2gConfigAws(factory, resp["registrationCode"]) subcommands.DieNotNil(err) diff --git a/subcommands/el2g/cmd.go b/subcommands/el2g/cmd.go index 6318875f..918fc04d 100644 --- a/subcommands/el2g/cmd.go +++ b/subcommands/el2g/cmd.go @@ -11,7 +11,7 @@ var api *client.Api var cmd = &cobra.Command{ Use: "el2g", - Short: "Manage EdgeLock2Go integration", + Short: "Manage EdgeLock 2Go integration", Long: "This is an optional feature that must be enabled by Foundries.io customer support", PersistentPreRun: func(cmd *cobra.Command, args []string) { api = subcommands.Login(cmd) diff --git a/subcommands/el2g/gateway.go b/subcommands/el2g/gateway.go index 350fb6a9..8a838273 100644 --- a/subcommands/el2g/gateway.go +++ b/subcommands/el2g/gateway.go @@ -20,7 +20,7 @@ var ( func init() { configCmd := &cobra.Command{ Use: "config-device-gateway", - Short: "Setup EdgeLock2Go support for device gateway", + Short: "Setup EdgeLock 2Go support for device gateway", Run: doDeviceGateway, Example: ` fioctl el2g config-device-gateway --pki-dir /tmp/factory-pki`, @@ -46,7 +46,7 @@ func doDeviceGateway(cmd *cobra.Command, args []string) { subcommands.DieNotNil(err) defer os.Remove(tmpfile.Name()) - fmt.Println("Requesting CSR from EdgeLock2Go") + fmt.Println("Requesting CSR from EdgeLock 2Go") csr, err := api.El2gCreateDg(factory) subcommands.DieNotNil(err)