Skip to content

Commit

Permalink
attach
Browse files Browse the repository at this point in the history
  • Loading branch information
simisoft-exo committed Sep 26, 2024
1 parent d51eacd commit 870365e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/dbaas_external_integration_attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ type dbaasExternalIntegrationAttachCmd struct {
_ bool `cli-cmd:"attach"`

Type string `cli-arg:"#"`
SourceServiceName string `cli-flag:"source-service-name" cli-usage:"DBaaS source service name" cli-hidden:""`

SourceServiceName string `cli-flag:"source-service-name" cli-usage:"DBaaS source service name" cli-hidden:""`
DestinationEndpointID string `cli-flag:"destination-endpoint-id" cli-usage:"Destination external endpoint id" cli-hidden:""`
}

Expand Down Expand Up @@ -57,7 +58,7 @@ func(c *dbaasExternalIntegrationAttachCmd) cmdRun(cmd *cobra.Command, args []str
op, err := client.AttachDBAASServiceToEndpoint(ctx, c.SourceServiceName, req)

if err != nil {
return nil
return err
}

decorateAsyncOperation(fmt.Sprintf("Attaching service %s to endpoint %s", c.SourceServiceName, endpointID), func() {
Expand Down

0 comments on commit 870365e

Please sign in to comment.