Skip to content

Commit 1c88c2d

Browse files
ndakkouneViBiOh
andauthored
Update aws/logs_monitoring_go/internal/config/apikey.go
Co-authored-by: Vincent Boutour <vincent.boutour@datadoghq.com>
1 parent 30281d7 commit 1c88c2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • aws/logs_monitoring_go/internal/config

aws/logs_monitoring_go/internal/config/apikey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (c *Config) resolveAPIKey(ctx context.Context) error {
6262

6363
func (c *Config) validateAPIKey(ctx context.Context) error {
6464
if c.APIKey == "" {
65-
return fmt.Errorf("%w: set DD_API_KEY_SECRET_ARN, DD_API_KEY_SSM_NAME or DD_KMS_API_KEY. See: https://docs.datadoghq.com/serverless/forwarder/", ErrMissingAPIKey)
65+
return fmt.Errorf("set DD_API_KEY_SECRET_ARN, DD_API_KEY_SSM_NAME or DD_KMS_API_KEY. See: https://docs.datadoghq.com/serverless/forwarder/: %w", ErrMissingAPIKey)
6666
}
6767

6868
if len(c.APIKey) != 32 {

0 commit comments

Comments
 (0)