Repository navigation
Commit cb70bf8
fix(examples): resolve endpoint config name in e2e cleanup (#6063)
The train-inference-e2e-example cleanup cell looked up the endpoint
configuration by the endpoint's name, but deploy() creates the config
under an auto-generated name. DescribeEndpointConfig then failed with
"Could not find endpoint configuration <endpoint-name>", aborting
teardown and leaving the model, endpoint, and config behind.
Resolve the real config name from the endpoint before deleting.
Co-authored-by: hrehard <hrehard@amazon.com>1 parent 4b3c156 commit cb70bf8
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
356 | 358 | | |
357 | 359 | | |
358 | 360 | | |
| |||
0 commit comments