Skip to content

Commit 4f30534

Browse files
Apply suggestions from code review
Co-authored-by: Piotr Kazmierczak <[email protected]>
1 parent 806dd3c commit 4f30534

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

client/config/fingerprint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Fingerprint struct {
2828
// relates to. It is gathered from the HCL block label.
2929
Name string `hcl:",key"`
3030

31-
// RetryInterval is the specifies the time to wait between fingerprint
31+
// RetryInterval specifies the time to wait between fingerprint
3232
// attempts.
3333
RetryInterval time.Duration
3434
RetryIntervalHCL string `hcl:"retry_interval,optional"`

client/fingerprint/env_aws.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const (
2727
// services.
2828
AwsMetadataTimeout = 2 * time.Second
2929

30-
// awsFingerprinterName is the name of the AWS fingerprinter and used in
31-
// configuration and logging.
30+
// awsFingerprinterName is the name of the AWS fingerprinter and is used
31+
// in configuration and logging.
3232
awsFingerprinterName = "env_aws"
3333
)
3434

command/agent/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ func convertClientConfig(agentConfig *Config) (*clientconfig.Config, error) {
10801080

10811081
conf.Users = clientconfig.UsersConfigFromAgent(agentConfig.Client.Users)
10821082

1083-
// Iterate the fingerprinter configs and populated the client mapping. The
1083+
// Iterate the fingerprinter configs and populate the client mapping. The
10841084
// validation function returns a suitable error that can be returned without
10851085
// formatting.
10861086
for _, fingerprinterCfg := range agentConfig.Client.Fingerprinters {

0 commit comments

Comments
 (0)