mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: stop inserting provisioner daemons into the database (#9108)
Signed-off-by: Spike Curtis <spike@coder.com>
This commit is contained in:
@@ -154,6 +154,9 @@ 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