Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/stackpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
experimentalStackpackEnvVar = "STS_EXPERIMENTAL_STACKPACK"
experimentalStackpackEnvVar = "STS_EXPERIMENTAL_STACKPACKS"
)

func StackPackCommand(cli *di.Deps) *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cmd/stackpack/stackpack_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cmd/sts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down
Loading