Skip to content

Commit 9495904

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 9aa18de commit 9495904

File tree

1 file changed

+4
-1
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc

1 file changed

+4
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,10 @@ public void toXContentFragment(XContentBuilder builder) throws IOException {
808808
if (managedBy != null) {
809809
apiKeyField.put("managed_by", managedBy);
810810
} else {
811-
apiKeyField.put("managed_by", isCloudApiKey() ? ManagedBy.CLOUD.getDisplayName() : ManagedBy.ELASTICSEARCH.getDisplayName());
811+
apiKeyField.put(
812+
"managed_by",
813+
isCloudApiKey() ? ManagedBy.CLOUD.getDisplayName() : ManagedBy.ELASTICSEARCH.getDisplayName()
814+
);
812815
}
813816
builder.field("api_key", Collections.unmodifiableMap(apiKeyField));
814817
}

0 commit comments

Comments
 (0)