Skip to content

Commit

Permalink
show table after create
Browse files Browse the repository at this point in the history
  • Loading branch information
simisoft-exo committed Sep 11, 2024
1 parent 011d40d commit cdec4db
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cmd/dbaas_external_endpoint_create_datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit cdec4db

Please sign in to comment.