From c239c38a2e3d2cd3fb18c7c57560f581f67cd2de Mon Sep 17 00:00:00 2001 From: leovct Date: Tue, 27 Feb 2024 17:45:53 +0100 Subject: [PATCH] Revert "chore: add back validators for `BuildFileAttr` and `TargetStageAttr`" This reverts commit 18ff46bd98532d1e89f58cb66e463bbc2479d392. --- .../kurtosis_types/service_config/image_build_spec.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/server/api_container/server/startosis_engine/kurtosis_types/service_config/image_build_spec.go b/core/server/api_container/server/startosis_engine/kurtosis_types/service_config/image_build_spec.go index 1457673549..d1bd5b2ea4 100644 --- a/core/server/api_container/server/startosis_engine/kurtosis_types/service_config/image_build_spec.go +++ b/core/server/api_container/server/startosis_engine/kurtosis_types/service_config/image_build_spec.go @@ -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, }, }, },