Skip to content

Commit

Permalink
chore: update Cloud Dedicated database creation Godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
xorphitus committed Aug 22, 2024
1 parent c594531 commit eea7b21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion influxdb3/management_cloud_decicated.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ func NewCloudDedicatedClient(client *Client) *CloudDedicatedClient {
return &CloudDedicatedClient{client: client}
}

// CreateDatabase creates a new database
// CreateDatabase creates a new database. If Database.ClusterDatabaseName is
// not provided, it defaults to the database name configured in Client.
func (d *CloudDedicatedClient) CreateDatabase(ctx context.Context, config *CloudDedicatedClientConfig, db *Database) error {
if db == nil {
return errors.New("database must not nil")
Expand Down

0 comments on commit eea7b21

Please sign in to comment.