Skip to content

Commit

Permalink
fix typos (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
agbpatro authored Dec 11, 2023
1 parent 9c37f2a commit e1c70d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/tesla-control/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ var commands = map[string]*Command{
},
},
"add-key-request": &Command{
help: "Requset NFC-card approval for a enrolling PUBLIC_KEY with ROLE and FORM_FACTOR",
help: "Request NFC-card approval for a enrolling PUBLIC_KEY with ROLE and FORM_FACTOR",
requiresAuth: false,
requiresFleetAPI: false,
args: []Argument{
Expand Down
2 changes: 1 addition & 1 deletion internal/log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Level int
const (
LevelNone Level = iota // Disables logging.
LevelError // Logs anamolies that are not expected to occur during normal use.
LevelWarning // Logs anamolies that are expected to occur occassionally during normal use.
LevelWarning // Logs anamolies that are expected to occur occasionally during normal use.
LevelInfo // Logs major events.
LevelDebug // Logs detailed IO
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (c *Config) PrivateKey() (skey protocol.ECDHPrivateKey, err error) {
// Connect to vehicle and/or account.
//
// If c.TokenFilename is set, the returned account will not be nil and the vehicle will use a
// connector.inet connection if a VIN was provded. If no token filename is set, c.VIN is required,
// connector.inet connection if a VIN was provided. If no token filename is set, c.VIN is required,
// the account will be nil, and the vehicle will use a connector.ble connection.
func (c *Config) Connect(ctx context.Context) (acct *account.Account, car *vehicle.Vehicle, err error) {
if c.VIN == "" && c.KeyringTokenName == "" && c.TokenFilename == "" {
Expand Down
2 changes: 1 addition & 1 deletion pkg/vehicle/vcsec.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func unmarshalVCSECResponse(message *universal.RoutableMessage) (*vcsec.FromVCSE
case nil:
return &vcsec.FromVCSECMessage{}, nil
default:
return nil, protocol.NewError("payload missing from vehicle respone", true, false)
return nil, protocol.NewError("payload missing from vehicle response", true, false)
}
encodedMessage := message.GetProtobufMessageAsBytes()

Expand Down

0 comments on commit e1c70d9

Please sign in to comment.