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 4f0bc70 commit 788c490Copy full SHA for 788c490
pkg/operator/resources/batchapi/manage_resources_cron.go
@@ -116,7 +116,6 @@ func ManageJobResources() error {
116
errors.PrintError(err)
117
continue
118
}
119
-
120
if newStatusCode != jobState.Status {
121
err = errors.FirstError(
122
writeToJobLogStream(jobKey, msg),
@@ -128,6 +127,10 @@ func ManageJobResources() error {
128
127
129
130
+ if queueURL == nil {
131
+ // job has been submitted within the grace period, it may take a while for a newly created queue to be listed in SQS api response
132
+ continue
133
+ }
134
135
err = checkIfJobCompleted(jobKey, *queueURL, k8sJob)
136
if err != nil {
0 commit comments