Skip to content

Commit e1934ea

Browse files
fix(apm): set default environment filter to 'prod' for services list
Changed the default value for --env flag from empty string to "prod" for the apm services list command to improve usability. - cmd/apm.go: Updated apmServicesListCmd --env default from "" to "prod" Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 654295e commit e1934ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/apm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ var (
428428

429429
func init() {
430430
// Services list flags
431-
apmServicesListCmd.Flags().StringVar(&envFilter, "env", "", "Environment filter")
431+
apmServicesListCmd.Flags().StringVar(&envFilter, "env", "prod", "Environment filter")
432432
apmServicesListCmd.Flags().Int64Var(&startTime, "start", time.Now().Add(-1*time.Hour).Unix(), "Start time (Unix timestamp)")
433433
apmServicesListCmd.Flags().Int64Var(&endTime, "end", time.Now().Unix(), "End time (Unix timestamp)")
434434

0 commit comments

Comments
 (0)