We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A periodic definition that uses a time_zone fails, it can not be parsed correctly.
periodic { crons = ["0 6 * * *"] prohibit_overlap = true time_zone = "America/New_York" }
The same definition without the time_zone can be applied correctly.
panic: time: missing Location in call to Time.In goroutine 1 [running]: time.Time.In(...) time/time.go:1146 github.com/hashicorp/nomad-pack/internal/runner/job.(*Runner).handlePeriodicJobResponse(0xc00081f7f8?, {0x1785c18, 0xc0004dc1c8}, 0xc000645d40) github.com/hashicorp/nomad-pack/internal/runner/job/job.go:228 +0x28b github.com/hashicorp/nomad-pack/internal/runner/job.(*Runner).Deploy(0xc00015e980, {0x1785c18, 0xc0004dc1c8}, 0xc00011c420) github.com/hashicorp/nomad-pack/internal/runner/job/job.go:145 +0x6[36](https://gitlab.com/5454[cropped]6810250090#L36) github.com/hashicorp/nomad-pack/internal/cli.(*RunCommand).run(0xc0004e63c0) github.com/hashicorp/nomad-pack/internal/cli/run.go:141 +0x9c3 github.com/hashicorp/nomad-pack/internal/cli.(*RunCommand).Run(0xc0004e63c0, {0xc0001041a0?, 0xffffffffffffffff?, 0x0?}) github.com/hashicorp/nomad-pack/internal/cli/run.go:[38](https://gitlab.com/5454[cropped]6810250090#L38) +0x218 github.com/mitchellh/cli.(*CLI).Run(0xc0004fc000) github.com/mitchellh/cli@v1.1.5/cli.go:262 +0x5b8 github.com/hashicorp/nomad-pack/internal/cli.Main({0xc000104180, 0x3, 0x3}) github.com/hashicorp/nomad-pack/internal/cli/main.go:98 +0x2a5 main.main() github.com/hashicorp/nomad-pack/main.go:15 +0x79
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A periodic definition that uses a time_zone fails, it can not be parsed correctly.
The same definition without the time_zone can be applied correctly.
The text was updated successfully, but these errors were encountered: