Skip to content

Commit 4def761

Browse files
committed
Remove obsolete code
1 parent d444b57 commit 4def761

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

internal/models/models.go

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,9 @@ type IndexAlias struct {
312312
}
313313

314314
type LifecycleSettings struct {
315-
DataRetention string `json:"data_retention,omitempty"`
316-
Enabled bool `json:"enabled,omitempty"`
317-
EffectiveRetention string `json:"effective_retention,omitempty"`
318-
RetentionDeterminedBy string `json:"retention_determined_by,omitempty"`
319-
Downsampling []Downsampling `json:"downsampling,omitempty"`
315+
DataRetention string `json:"data_retention,omitempty"`
316+
Enabled bool `json:"enabled,omitempty"`
317+
Downsampling []Downsampling `json:"downsampling,omitempty"`
320318
}
321319

322320
type Downsampling struct {
@@ -343,11 +341,6 @@ type DataStreamIndex struct {
343341
IndexUUID string `json:"index_uuid"`
344342
}
345343

346-
type DataStreamGlobalRetention struct {
347-
MaxRetention string `json:"max_retention"`
348-
DefaultRetention string `json:"default_retention"`
349-
}
350-
351344
type DataStreamLifecycle struct {
352345
Name string `json:"name"`
353346
Lifecycle LifecycleSettings `json:"lifecycle,omitempty"`

0 commit comments

Comments
 (0)