Skip to content

Commit

Permalink
NIFI-7529 Removed OS and Java information from InvokeHttp's UserAgent…
Browse files Browse the repository at this point in the history
… field so that it's removed regardless of whether or not this field is kept.

This closes apache#4332
  • Loading branch information
MikeThomsen authored and tpalfy committed Jul 7, 2020
1 parent 4c40e12 commit 0a1ac7e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -254,7 +254,7 @@ public class InvokeHTTP extends AbstractProcessor {
.displayName("Useragent")
.description("The Useragent identifier sent along with each request")
.required(false)
.defaultValue("Apache Nifi/${nifi.version} (git:${nifi.build.git.commit.id.describe}; Java/${java.version}; ${os.name} ${os.version}; ${os.arch}; https://nifi.apache.org/)")
.defaultValue("Apache Nifi/${nifi.version} (git:${nifi.build.git.commit.id.describe}; https://nifi.apache.org/)")
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.build();
Expand Down

0 comments on commit 0a1ac7e

Please sign in to comment.