We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0b1f9 commit 4bd2f81Copy full SHA for 4bd2f81
provider/workspace_preset.go
@@ -212,7 +212,9 @@ See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a complete
212
}
213
214
215
-// validatePrebuildsCronSpec ensures that the minute field is set to *
+// validatePrebuildsCronSpec ensures that the minute field is set to *.
216
+// This is required because autoscaling schedules represent continuous time ranges,
217
+// and we want the schedule to cover entire hours rather than specific minute intervals.
218
func validatePrebuildsCronSpec(spec string) error {
219
parts := strings.Fields(spec)
220
if len(parts) != 5 {
0 commit comments