diff --git a/cmd/stackpack.go b/cmd/stackpack.go index ba849bb3..47b40f92 100644 --- a/cmd/stackpack.go +++ b/cmd/stackpack.go @@ -9,7 +9,7 @@ import ( ) const ( - experimentalStackpackEnvVar = "STS_EXPERIMENTAL_STACKPACK" + experimentalStackpackEnvVar = "STS_EXPERIMENTAL_STACKPACKS" ) func StackPackCommand(cli *di.Deps) *cobra.Command { diff --git a/cmd/stackpack/stackpack_validate.go b/cmd/stackpack/stackpack_validate.go index 523f0619..7eef1b5c 100644 --- a/cmd/stackpack/stackpack_validate.go +++ b/cmd/stackpack/stackpack_validate.go @@ -35,7 +35,7 @@ This command validates a stackpack by uploading it to the server. Exactly one of --stackpack-directory or --stackpack-file must be specified. -This command is experimental and requires STS_EXPERIMENTAL_STACKPACK environment variable to be set.`, +This command is experimental and requires STS_EXPERIMENTAL_STACKPACKS environment variable to be set.`, Example: `# Validate a stackpack directory (automatically packaged) sts stackpack validate --stackpack-directory ./my-stackpack diff --git a/cmd/sts.go b/cmd/sts.go index 38700ced..e5788fdf 100644 --- a/cmd/sts.go +++ b/cmd/sts.go @@ -36,7 +36,7 @@ func STSCommand(cli *di.Deps) *cobra.Command { cmd.AddCommand(TopologyCommand(cli)) // Experimental commands for otel mapping - if os.Getenv("STS_EXPERIMENTAL_OTEL_MAPPING") != "" { + if os.Getenv("STS_EXPERIMENTAL_STACKPACKS") != "" { cmd.AddCommand(OtelComponentMappingCommand(cli)) cmd.AddCommand(OtelRelationMappingCommand(cli)) }