Skip to content

Commit

Permalink
WOOP-436 lookback type updated by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
JolantaSk committed Oct 1, 2024
1 parent 5c97244 commit 8026808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion castai/resource_workload_scaling_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func workloadScalingPolicyResourceSchema(function string, overhead float64) *sch
ValidateDiagFunc: validation.ToDiagFunc(validation.FloatBetween(0.01, 1)),
},
"look_back_period_seconds": {
Type: schema.TypeFloat,
Type: schema.TypeInt,
Optional: true,
Description: "The look back period in seconds for the recommendation.",
ValidateDiagFunc: validation.ToDiagFunc(validation.IntBetween(24*60*60, 7*24*60*60)),
Expand Down

0 comments on commit 8026808

Please sign in to comment.