mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
`version` and `create_time` are assigned from the action itself and thus should not be able to be set from the client. Backport of #49826
This commit is contained in:
parent
87a73b6bdf
commit
e3c959b7f1
@ -283,12 +283,12 @@ public class DataFrameAnalyticsConfig implements ToXContentObject {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setCreateTime(Instant createTime) {
|
||||
Builder setCreateTime(Instant createTime) {
|
||||
this.createTime = createTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setVersion(Version version) {
|
||||
Builder setVersion(Version version) {
|
||||
this.version = version;
|
||||
return this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user