Skip to content

Commit 9a87ce1

Browse files
committed
chore: replace deprecated call
1 parent ef29348 commit 9a87ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/influxd/downgrade/downgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ influxd binary to boot successfully.
7575
The target version of the downgrade must be specified, i.e. "influxd downgrade 2.0".
7676
`,
7777
ValidArgs: validDowngradeTargets,
78-
Args: cobra.ExactValidArgs(1),
78+
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
7979
RunE: func(cmd *cobra.Command, args []string) error {
8080
logconf := &influxlogger.Config{
8181
Format: "auto",

0 commit comments

Comments
 (0)