diff --git a/cmd/crowdsec-cli/dashboard.go b/cmd/crowdsec-cli/dashboard.go index 532f2d2694c6..21110d633a89 100644 --- a/cmd/crowdsec-cli/dashboard.go +++ b/cmd/crowdsec-cli/dashboard.go @@ -25,7 +25,7 @@ func (cli *cliDashboard) NewCommand() *cobra.Command { Short: "Manage your metabase dashboard container [requires local API]", DisableAutoGenTag: true, RunE: func(_ *cobra.Command, _ []string) error { - return errors.New("command 'dashboard' has been removed, please read https://...") + return errors.New("command 'dashboard' has been removed, please read https://docs.crowdsec.net/blog/cscli_dashboard_deprecation/") }, } diff --git a/test/bats/01_cscli.bats b/test/bats/01_cscli.bats index f59cff843a41..ad876f7f38ce 100644 --- a/test/bats/01_cscli.bats +++ b/test/bats/01_cscli.bats @@ -414,12 +414,11 @@ teardown() { export CROWDSEC_FEATURE_CSCLI_SETUP="true" rune -0 cscli config feature-flags assert_line '✓ cscli_setup: Enable cscli setup command (service detection)' - # there are no retired features rune -0 cscli config feature-flags --retired } @test "cscli dashboard" { rune -1 cscli dashboard xyz - assert_stderr --partial "command 'dashboard' has been removed, please read https://..." + assert_stderr --partial "command 'dashboard' has been removed, please read https://docs.crowdsec.net/blog/cscli_dashboard_deprecation/" }