Skip to content

Commit e9e0e93

Browse files
committed
Fix typo
1 parent a8f143c commit e9e0e93

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: command/device/create.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/arduino/iot-cloud-cli/internal/iot"
1212
)
1313

14-
// CreateParams contains the paramters needed
14+
// CreateParams contains the parameters needed
1515
// to find the device to be provisioned.
1616
// If Port is an empty string, then each serial port is analyzed.
1717
// If Fqbn is an empty string, then the first device found gets selected.
@@ -29,7 +29,7 @@ type device struct {
2929
}
3030

3131
// Create command is used to provision a new arduino device
32-
// and to add it to the arduino iot cloud.
32+
// and to add it to Arduino IoT Cloud.
3333
func Create(params *CreateParams) (string, error) {
3434
comm, err := cli.NewCommander()
3535
if err != nil {

Diff for: internal/iot/client.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
iotclient "github.com/arduino/iot-client-go"
88
)
99

10-
// Client can be used to perform actions on the arduino iot cloud.
10+
// Client can be used to perform actions on Arduino IoT Cloud.
1111
type Client interface {
1212
AddDevice(fqbn, name, serial, devType string) (string, error)
1313
DeleteDevice(id string) error
@@ -32,7 +32,7 @@ func NewClient(clientID, secretID string) (Client, error) {
3232
return cl, nil
3333
}
3434

35-
// AddDevice allows to create a new device on arduino iot cloud.
35+
// AddDevice allows to create a new device on Arduino IoT Cloud.
3636
// It returns the ID associated to the new device, and an error.
3737
func (cl *client) AddDevice(fqbn, name, serial, dType string) (string, error) {
3838
payload := iotclient.CreateDevicesV2Payload{
@@ -71,7 +71,7 @@ func (cl *client) ListDevices() ([]iotclient.ArduinoDevicev2, error) {
7171
return devices, nil
7272
}
7373

74-
// AddCertifcate allows to upload a certificate on arduino iot cloud.
74+
// AddCertifcate allows to upload a certificate on Arduino IoT Cloud.
7575
// It returns the certificate parameters populated by the cloud.
7676
func (cl *client) AddCertificate(id, csr string) (*iotclient.ArduinoCompressedv2, error) {
7777
cert := iotclient.CreateDevicesV2CertsPayload{

0 commit comments

Comments
 (0)