Skip to content

Commit

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

root := new(databaseLogsinkRoot)
// root := new(databaseLogsinkRoot)
root := new(DatabaseLogsink)

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

// ListTopics returns all topics for a given kafka cluster
Expand Down

0 comments on commit 56a323c

Please sign in to comment.