Skip to content

Commit

Permalink
Updated CHEATSHEET
Browse files Browse the repository at this point in the history
Job creation code has been updated.
  • Loading branch information
Tariqs authored and manusa committed Dec 12, 2022
1 parent d418273 commit ad33027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CHEATSHEET.md
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ client.batch().jobs().inNamespace("default").create(job);
```
- Create or Replace an existing `Job`:
```
Job job = client.batch().jobs().inNamespace("default").createOrReplace(job);
Job job = client.batch().v1().jobs().inNamespace("default").resource(job).createOrReplace();
```
- List `Job` in some namespace:
```
Expand Down

0 comments on commit ad33027

Please sign in to comment.