chore: address comments

This commit is contained in:
Fredrik Adelöw
2020-10-05 14:18:42 +02:00
parent b9c8062c08
commit aba57e8392
7 changed files with 51 additions and 39 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ export function serializeEntityRef(
let namespace;
let name;
if ('apiVersion' in ref) {
if ('metadata' in ref) {
kind = ref.kind;
namespace = ref.metadata.namespace;
name = ref.metadata.name;