Skip to content

Commit

Permalink
[databases]: test 2 logsink
Browse files Browse the repository at this point in the history
  • Loading branch information
loosla committed Oct 3, 2024
1 parent d041fee commit 43460fa
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -1886,12 +1886,11 @@ func (svc *DatabasesServiceOp) CreateLogsink(ctx context.Context, databaseID str
return nil, nil, err
}

// root := new(DatabaseLogsink)
root := &DatabaseLogsink{
Name: createLogsink.Name,
Type: createLogsink.Type,
Config: createLogsink.Config,
}
root := new(DatabaseLogsink)
root.Name = createLogsink.Name
root.Type = createLogsink.Type
root.Config = createLogsink.Config

resp, err := svc.client.Do(ctx, req, root)
if err != nil {
return nil, resp, err
Expand Down

0 comments on commit 43460fa

Please sign in to comment.