Skip to content

Commit c5cb00c

Browse files
committed
fix(lint): minor lint errors
1 parent 8da6467 commit c5cb00c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/lk/agent.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func createAgent(ctx context.Context, cmd *cli.Command) error {
381381
}
382382

383383
if !createFile {
384-
return fmt.Errorf("Config file [%s] required to create agent", tomlFilename)
384+
return fmt.Errorf("config file [%s] required to create agent", tomlFilename)
385385
}
386386

387387
f, err := os.Create(filepath.Join(workingDir, tomlFilename))
@@ -563,7 +563,7 @@ func createAgentConfig(ctx context.Context, cmd *cli.Command) error {
563563
return err
564564
}
565565
if !overwrite {
566-
return fmt.Errorf("Config file [%s] already exists", tomlFilename)
566+
return fmt.Errorf("config file [%s] already exists", tomlFilename)
567567
}
568568
}
569569

@@ -628,7 +628,7 @@ func deployAgent(ctx context.Context, cmd *cli.Command) error {
628628
}
629629

630630
if !tomlExists {
631-
return fmt.Errorf("Config file [%s] required to update agent", tomlFilename)
631+
return fmt.Errorf("config file [%s] required to update agent", tomlFilename)
632632
}
633633

634634
secrets := make(map[string]*lkproto.AgentSecret)
@@ -783,7 +783,7 @@ func updateAgent(ctx context.Context, cmd *cli.Command) error {
783783
}
784784

785785
if !tomlExists {
786-
return fmt.Errorf("Config file [%s] required to update agent", tomlFilename)
786+
return fmt.Errorf("config file [%s] required to update agent", tomlFilename)
787787
}
788788

789789
req := &lkproto.UpdateAgentRequest{

0 commit comments

Comments
 (0)