From cdec4db6471d84700a1277f5ae9db13f62fa0b92 Mon Sep 17 00:00:00 2001 From: simisoft-exo Date: Wed, 11 Sep 2024 15:20:04 +0100 Subject: [PATCH] show table after create --- cmd/dbaas_external_endpoint_create_datadog.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/cmd/dbaas_external_endpoint_create_datadog.go b/cmd/dbaas_external_endpoint_create_datadog.go index 02a6924b..ff95a72d 100644 --- a/cmd/dbaas_external_endpoint_create_datadog.go +++ b/cmd/dbaas_external_endpoint_create_datadog.go @@ -66,14 +66,15 @@ func (c *dbaasExternalEndpointCreateCmd) createDatadog(_ *cobra.Command, _ []str return err } - // endpointID := op.Reference.ID.String() + endpointID := op.Reference.ID.String() - // if !globalstate.Quiet { - // return (&dbaasExternalEndpointShowCmd{ - // cliCommandSettings: defaultCLICmdSettings(), - // ExternalEndpointID: endpointID, - // }).cmdRun(nil, nil) - // } + if !globalstate.Quiet { + return (&dbaasExternalEndpointShowCmd{ + cliCommandSettings: defaultCLICmdSettings(), + EndpointID: endpointID, + Type: "datadog", + }).cmdRun(nil, nil) + } return nil }