Commit 6642aaa
committed
Return error early when instance already exists
Without the additional check, we would offer the user to edit
the template, and only then throw an error that the instance
already exists.
Fixes #2575
Signed-off-by: Jan Dubois <[email protected]>1 parent e6babd6 commit 6642aaa
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
0 commit comments