Commit 4d9bd6a
committed
An error appears when validating a local K8s resource
```
stack trace: TypeError: Cannot read properties of undefined (reading 'metadata')
at K8sResourceCache.<anonymous> (./vscode-openshift-tools/out/src/k8s/vfs/kuberesources.utils.js:226:49)
at Generator.next (<anonymous>)
at fulfilled (./vscode-openshift-tools/out/src/k8s/vfs/kuberesources.utils.js:42:58)
```
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>1 parent d5deea2 commit 4d9bd6a
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| |||
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| 209 | + | |
206 | 210 | | |
207 | 211 | | |
208 | 212 | | |
| |||
0 commit comments