Skip to content

Commit dc56e5a

Browse files
committed
given that stack_type is now only
used in the deploy workflow, move it from inspect to deploy
1 parent cfc7bfd commit dc56e5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contentctl/objects/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ class inspect(build):
425425
"enforcement (defaults to the latest release of the app published on Splunkbase)."
426426
),
427427
)
428-
stack_type: StackType = Field(description="The type of your Splunk Cloud Stack")
429428

430429
@field_validator("enrichments", mode="after")
431430
@classmethod
@@ -496,6 +495,9 @@ class new(Config_Base):
496495

497496
class deploy_acs(inspect):
498497
model_config = ConfigDict(validate_default=False, arbitrary_types_allowed=True)
498+
499+
stack_type: StackType = Field(description="The type of your Splunk Cloud Stack")
500+
499501
# ignore linter error
500502
splunk_cloud_jwt_token: str = Field(
501503
exclude=True,

0 commit comments

Comments
 (0)