Skip to content

Commit

Permalink
make it spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
lahsivjar committed Nov 8, 2024
1 parent 82800a7 commit 97bf811
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,7 @@ private LifecyclePolicy loadLifecyclePolicy(String name) {
try {
var rawPolicy = loadResource(this.getClass(), "/lifecycle-policies/" + name + ".yaml");
rawPolicy = TemplateUtils.replaceVariables(rawPolicy, Collections.emptyMap());
return LifecyclePolicyUtils.parsePolicy(
rawPolicy,
name,
LifecyclePolicyConfig.DEFAULT_X_CONTENT_REGISTRY,
XContentType.YAML
);
return LifecyclePolicyUtils.parsePolicy(rawPolicy, name, LifecyclePolicyConfig.DEFAULT_X_CONTENT_REGISTRY, XContentType.YAML);
} catch (IOException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 97bf811

Please sign in to comment.