Commit 353407c
fix(azure): make location optional for spot allocation
- Restore DefaultHostingPlace() to return nil, nil when no location env
is set, with an info-level log instead of a hard error
- Requiring location at mc.Init() broke spot workflows that don't need
it (fixes #839); the non-spot path in allocation.go already enforces
location explicitly when missing
Co-Authored-By: Claude <Sonnet 4.6> <noreply@anthropic.com>
Signed-off-by: Rishabh Kothari <rkothari@redhat.com>1 parent 4519410 commit 353407c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments