update changeset, fix pr nits

Signed-off-by: Andrew Tran <atran@brex.com>
This commit is contained in:
Andrew Tran
2021-11-30 16:04:39 -06:00
parent 24af47761b
commit 4dab6ffaad
3 changed files with 9 additions and 2 deletions
@@ -259,7 +259,7 @@ export class KubernetesBuilder {
objectTypesToFetch = objectTypesToFetch ?? DEFAULT_OBJECTS;
for (const obj of objectTypesToFetch) {
if (apiVersionOverrides.getOptionalString(obj.objectType)) {
if (apiVersionOverrides.has(obj.objectType)) {
obj.apiVersion = apiVersionOverrides.getString(obj.objectType);
}
}