mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(coderd): insert provisioner daemons (#11207)
* Adds UpdateProvisionerDaemonLastSeenAt * Adds heartbeat to provisioner daemons * Inserts provisioner daemons to database upon start * Ensures TagOwner is an empty string and not nil * Adds COALESCE() in idx_provisioner_daemons_name_owner_key
This commit is contained in:
@@ -164,9 +164,6 @@ func (c *Client) Organization(ctx context.Context, id uuid.UUID) (Organization,
|
||||
}
|
||||
|
||||
// ProvisionerDaemons returns provisioner daemons available.
|
||||
//
|
||||
// Deprecated: We no longer track provisioner daemons as they connect. This function may return historical data
|
||||
// but new provisioner daemons will not appear.
|
||||
func (c *Client) ProvisionerDaemons(ctx context.Context) ([]ProvisionerDaemon, error) {
|
||||
res, err := c.Request(ctx, http.MethodGet,
|
||||
// TODO: the organization path parameter is currently ignored.
|
||||
|
||||
Reference in New Issue
Block a user