(jobKey spec.JobKey)
| 447 | } |
| 448 | |
| 449 | func SetTimedOutStatus(jobKey spec.JobKey) error { |
| 450 | err := config.AWS.UploadStringToS3("", config.ClusterConfig.Bucket, path.Join(jobKey.Prefix(config.ClusterConfig.ClusterUID), status.JobTimedOut.String())) |
| 451 | if err != nil { |
| 452 | return err |
| 453 | } |
| 454 | |
| 455 | err = DeleteInProgressFile(jobKey) |
| 456 | if err != nil { |
| 457 | return err |
| 458 | } |
| 459 | |
| 460 | return nil |
| 461 | } |
no test coverage detected