Skip to content

Commit 08958d6

Browse files
committed
link
1 parent 553f95f commit 08958d6

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
@@ -414,12 +414,11 @@ teardown() {
414414
export CROWDSEC_FEATURE_CSCLI_SETUP="true"
415415
rune -0 cscli config feature-flags
416416
assert_line '✓ cscli_setup: Enable cscli setup command (service detection)'
417-
418417
# there are no retired features
419418
rune -0 cscli config feature-flags --retired
420419
}
421420

422421
@test "cscli dashboard" {
423422
rune -1 cscli dashboard xyz
424-
assert_stderr --partial "command 'dashboard' has been removed, please read https://..."
423+
assert_stderr --partial "command 'dashboard' has been removed, please read https://docs.crowdsec.net/blog/cscli_dashboard_deprecation/"
425424
}

0 commit comments

Comments
 (0)