Skip to content

Commit 10b82f0

Browse files
committed
link
1 parent cc04acc commit 10b82f0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cmd/crowdsec-cli/dashboard.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (cli *cliDashboard) NewCommand() *cobra.Command {
2525
Short: "Manage your metabase dashboard container [requires local API]",
2626
DisableAutoGenTag: true,
2727
RunE: func(_ *cobra.Command, _ []string) error {
28-
return errors.New("command 'dashboard' has been removed, please read https://...")
28+
return errors.New("command 'dashboard' has been removed, please read https://docs.crowdsec.net/blog/cscli_dashboard_deprecation/")
2929
},
3030
}
3131

test/bats/01_cscli.bats

+1-2
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,11 @@ teardown() {
378378
export CROWDSEC_FEATURE_CSCLI_SETUP="true"
379379
rune -0 cscli config feature-flags
380380
assert_line '✓ cscli_setup: Enable cscli setup command (service detection)'
381-
382381
# there are no retired features
383382
rune -0 cscli config feature-flags --retired
384383
}
385384

386385
@test "cscli dashboard" {
387386
rune -1 cscli dashboard xyz
388-
assert_stderr --partial "command 'dashboard' has been removed, please read https://..."
387+
assert_stderr --partial "command 'dashboard' has been removed, please read https://docs.crowdsec.net/blog/cscli_dashboard_deprecation/"
389388
}

0 commit comments

Comments
 (0)