This repository was archived by the owner on Sep 6, 2022. It is now read-only.
Commit eaa5287
committed
use
Related to #7
Currently, As we seem to use the `{PREEMPTABLE}` env directly,
It causes the following error when set to `false`:
```
ERROR: (gcloud.container.clusters.create) unrecognized arguments: false
```
This PR updates to use a separate variable, which is set `--preemptable`
when `PREEMPTABLE` is set to true, **empty otherwise**. Thus, preventing
`false` to mistakenly passed as an argument.
This PR also updates the usage at `gcloud.container.node-pools.create`
to not pass empty argument when the value is `false`.
Signed-off-by: Tarun Pothulapati <[email protected]>--preemptable appropriately when set to false1 parent 964cedf commit eaa5287
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | | - | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
365 | | - | |
| 366 | + | |
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
| |||
0 commit comments