Skip to content

Commit

Permalink
Revert "chore: add back validators for BuildFileAttr and `TargetSta…
Browse files Browse the repository at this point in the history
…geAttr`"

This reverts commit 18ff46b.
  • Loading branch information
leovct committed Feb 27, 2024
1 parent 18ff46b commit c239c38
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,13 @@ func NewImageBuildSpecType() *kurtosis_type_constructor.KurtosisTypeConstructor
Name: BuildFileAttr,
IsOptional: true,
ZeroValueProvider: builtin_argument.ZeroValueProvider[starlark.String],
Validator: func(value starlark.Value) *startosis_errors.InterpretationError {
return builtin_argument.NonEmptyString(value, BuildFileAttr)
},
Validator: nil,
},
{
Name: TargetStageAttr,
IsOptional: true,
ZeroValueProvider: builtin_argument.ZeroValueProvider[starlark.String],
Validator: func(value starlark.Value) *startosis_errors.InterpretationError {
return builtin_argument.NonEmptyString(value, TargetStageAttr)
},
Validator: nil,
},
},
},
Expand Down

0 comments on commit c239c38

Please sign in to comment.