Skip to content

Commit

Permalink
Fix files and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bhapas committed Aug 14, 2023
1 parent b18bb75 commit bc82cdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ def targetWithoutNode(Map args = [:]) {
}
}
}
}
// Publish packages should happen always to easily consume those artifacts if the
// e2e were triggered and failed.
if (isPackaging) {
Expand All @@ -634,7 +633,7 @@ def targetWithoutNode(Map args = [:]) {
}
}
}

}
/**
* This method wraps all the environment setup and pre-requirements to run any commands.
*/
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/awss3/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (c *config) Validate() error {
return errors.New("fips_enabled cannot be used with a non-AWS S3 bucket")
}
if c.PathStyle && c.NonAWSBucketName == "" && c.QueueURL == "" {
return errors.New("path_style can only be used when polling non-AWS S3 services")
return errors.New("path_style can only be used when polling non-AWS S3 services or SQS/SNS QueueURL")
}
if c.ProviderOverride != "" && c.NonAWSBucketName == "" {
return errors.New("provider can only be overridden when polling non-AWS S3 services")
Expand Down

0 comments on commit bc82cdc

Please sign in to comment.