Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Dec 26, 2024
1 parent f09aa05 commit de78244
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/resolver/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ export default class Validator {
if (!this.isTargeted(name, inputs)) {
const value =
this.inputs[name] ??
this.graph.serviceTemplate.topology_template?.variability?.inputs?.[name]?.default ??
undefined
this.graph.serviceTemplate.topology_template?.variability?.inputs?.[name]?.default
assert.isDefined(value, `Variability input "${name}" is not targeted and not assigned`)
}

Expand Down

0 comments on commit de78244

Please sign in to comment.