Commit 8325ba6
committed
fix(perf): handle older nemo_run without pod_annotations in RunAIPlugin
Older nemo_run versions (e.g. 0.9.0rc0) expose `annotations` instead of
`pod_annotations` on KubeflowExecutor. Fall back gracefully so the
plugin works on clusters that haven't upgraded nemo_run yet.
Signed-off-by: Rafael M. Koike <koike.rafael@gmail.com>1 parent cbb0dfd commit 8325ba6
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
| |||
0 commit comments