Skip to content

Commit

Permalink
updating assertions for name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidya2606 committed Oct 3, 2024
1 parent 910521c commit 46c3153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/strategyHelpers/canary/podCanaryHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export async function deployPodCanary(
'kind' in inputObject &&
'spec' in inputObject &&
typeof inputObject.metadata === 'object' &&
'name' in inputObject.metadata &&
typeof inputObject.metadata.name === 'string' &&
typeof inputObject.kind === 'string'
) {
Expand Down

0 comments on commit 46c3153

Please sign in to comment.