Skip to content

Commit b3fc86e

Browse files
committed
Proper gofmt
1 parent 5a9411c commit b3fc86e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

internal/kibana/slo.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,10 @@ func getSchema() map[string]*schema.Schema {
458458
Computed: true,
459459
},
460460
"prevent_initial_backfill": {
461-
Description: "Prevents the underlying ES transform from attempting to backfill data on start, which can sometimes be resource-intensive or time-consuming and unnecessary",
462-
Type: schema.BoolAttribute,
463-
Optional: true,
464-
}
461+
Description: "Prevents the underlying ES transform from attempting to backfill data on start, which can sometimes be resource-intensive or time-consuming and unnecessary",
462+
Type: schema.TypeBool,
463+
Optional: true,
464+
},
465465
},
466466
},
467467
},
@@ -663,8 +663,8 @@ func getSloFromResourceData(d *schema.ResourceData) (models.Slo, diag.Diagnostic
663663
}
664664

665665
settings := slo.Settings{
666-
SyncDelay: getOrNilString("settings.0.sync_delay", d),
667-
Frequency: getOrNilString("settings.0.frequency", d),
666+
SyncDelay: getOrNilString("settings.0.sync_delay", d),
667+
Frequency: getOrNilString("settings.0.frequency", d),
668668
PreventInitialBackfill: getOrNilBool("settings.0.prevent_initial_backfill", d),
669669
}
670670

@@ -918,8 +918,8 @@ func resourceSloRead(ctx context.Context, d *schema.ResourceData, meta interface
918918

919919
if err := d.Set("settings", []interface{}{
920920
map[string]interface{}{
921-
"sync_delay": s.Settings.SyncDelay,
922-
"frequency": s.Settings.Frequency,
921+
"sync_delay": s.Settings.SyncDelay,
922+
"frequency": s.Settings.Frequency,
923923
"prevent_initial_backfill": s.Settings.PreventInitialBackfill,
924924
},
925925
}); err != nil {

0 commit comments

Comments
 (0)