Skip to content

Commit

Permalink
el2g: Fix branding typos
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Doan <[email protected]>
  • Loading branch information
doanac committed Sep 2, 2022
1 parent 2128240 commit d4287d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions subcommands/el2g/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion subcommands/el2g/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions subcommands/el2g/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand All @@ -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)

Expand Down

0 comments on commit d4287d1

Please sign in to comment.