Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Sep 25, 2024
1 parent 7f5bc7d commit 407b8f6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ public class SecurityDynamicConfiguration<T> implements ToXContent {
private int version = CURRENT_VERSION;

public static <T> SecurityDynamicConfiguration<T> empty(CType<T> ctype) {
return new SecurityDynamicConfiguration<T>(ctype);
SecurityDynamicConfiguration<T> result = new SecurityDynamicConfiguration<T>(ctype);
result._meta = new Meta();
result._meta.setType(ctype.toLCString());
result._meta.setConfig_version(CURRENT_VERSION);
return result;
}

@JsonIgnore
Expand Down

0 comments on commit 407b8f6

Please sign in to comment.