Commit 8ebd359
[SDK] improve PVC creation name error (kubeflow#2496)
* improve pvc name error message by failing early and clear message with correct name example
Signed-off-by: mahdikhashan <[email protected]>
* fix lint
Signed-off-by: mahdikhashan <[email protected]>
* fix lint
Signed-off-by: mahdikhashan <[email protected]>
* raise value error for wrong name format by reconciliation
Signed-off-by: mahdikhashan <[email protected]>
* revert created utils
Signed-off-by: mahdikhashan <[email protected]>
* improve test case name
Signed-off-by: mahdikhashan <[email protected]>
* improve value error message
Signed-off-by: mahdikhashan <[email protected]>
* improve code flow
Signed-off-by: mahdikhashan <[email protected]>
---------
Signed-off-by: mahdikhashan <[email protected]>
Signed-off-by: Gary Miguel <[email protected]>1 parent 3078694 commit 8ebd359
File tree
2 files changed
+15
-10
lines changed- sdk/python/v1beta1/kubeflow/katib/api
2 files changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
582 | 580 | | |
583 | 581 | | |
584 | 582 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
313 | 320 | | |
314 | 321 | | |
315 | 322 | | |
| |||
0 commit comments