Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenko-v committed Sep 26, 2024
1 parent 5fec7b4 commit 2d87ea7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/job/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ func (e *MsgExecutor) Execute(ctx context.Context, in executor.ExecuteInput) (ex
}

// Navigate to the container args
spec := cronJob["spec"].(map[string]interface{})
jobTemplate := spec["jobTemplate"].(map[string]interface{})
template := jobTemplate["spec"].(map[string]interface{})["template"].(map[string]interface{})
template := cronJob["spec"].(map[string]interface{})["template"].(map[string]interface{})
container := template["spec"].(map[string]interface{})["containers"].([]interface{})[0].(map[string]interface{})

// Modify the first container args
Expand Down

0 comments on commit 2d87ea7

Please sign in to comment.