yipeeio / yipee

An opensource version of the Yipee.io editor.
Apache License 2.0
22 stars 7 forks source link

multiple namespace missing errors when namespace doesn't exist #23

Open jrryjcksn opened 5 years ago

jrryjcksn commented 5 years ago

when trying to apply some yaml to a namespace that doesn't exist, the backend returns {"success":false,"total":1,"data":["Error from server (NotFound): error when creating \"/tmp/791bf773c0491932\": namespaces \"cm\" not found\nError from server (NotFound): error when creating \"/tmp/791bf773c0491932\": namespaces \"cm\" not found\nError from server (NotFound): error when creating \"/tmp/791bf773c0491932\": namespaces \"cm\" not found\nError from server (NotFound): error when creating \"/tmp/791bf773c0491932\": namespaces \"cm\" not found\n"]} This is confusing as the user set the namespace once in the model and every object then gets the error about the missing namespace. Expected

Single namespace missing error.