From 5917b516316a653da9e1d7111ff046a676151147 Mon Sep 17 00:00:00 2001 From: Bram Schuur Date: Mon, 28 Oct 2024 15:41:41 +0100 Subject: [PATCH] STAC-21827: Deprecate graph commands --- cmd/graph/graph_delete_expired_data.go | 2 +- cmd/graph/graph_retention.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/graph/graph_delete_expired_data.go b/cmd/graph/graph_delete_expired_data.go index f79bb985..ac236544 100644 --- a/cmd/graph/graph_delete_expired_data.go +++ b/cmd/graph/graph_delete_expired_data.go @@ -27,7 +27,7 @@ func DeleteExpiredDataCommand(deps *di.Deps) *cobra.Command { args := &DeleteExpiredDataArgs{} cmd := &cobra.Command{ Use: "delete-expired-data", - Short: "Delete expired data from StackState", + Short: "Delete expired data from StackState (DEPRECATED !! FUNCTIONALITY IS REMOVED IN LATEST VERSION OF PLATFORM)", Long: "Schedule deletion of expired data from StackState.\n" + "If --immediate is specified, removes data immediately and restarts StackState.", RunE: deps.CmdRunEWithAdminApi(RunDeleteExpiredDataCommand(args)), diff --git a/cmd/graph/graph_retention.go b/cmd/graph/graph_retention.go index e57ff859..48e12080 100644 --- a/cmd/graph/graph_retention.go +++ b/cmd/graph/graph_retention.go @@ -26,7 +26,7 @@ func RetentionCommand(deps *di.Deps) *cobra.Command { args := &RetentionArgs{} cmd := &cobra.Command{ Use: "retention", - Short: "Manage the StackState Graph data retention", + Short: "Manage the StackState Graph data retention (DEPRECATED !! FUNCTIONALITY IS REMOVED IN LATEST VERSION OF PLATFORM)", Long: "View and configure how long the StackState data graph retains data.\n" + "More info can ben found at http://docs.stackstate.com/setup/retention/.", RunE: deps.CmdRunEWithAdminApi(RunRetentionCommand(args)),