MCPcopy Index your code
hub / github.com/coder/coder / Error

Method Error

coderd/provisionerdserver/provisionerdserver.go:3626–3628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3624}
3625
3626func (e *workspaceAppRebindError) Error() string {
3627 return fmt.Sprintf("workspace app slug %q with ID %q is already bound to a workspace-owned agent and cannot be rebound to an agent in another workspace or to an agent without a workspace; refusing to rebind to agent ID %q", e.slug, e.appID, e.agentID)
3628}
3629
3630func (s *server) warnWorkspaceAppRebindRejected(ctx context.Context, jobID uuid.UUID, err error) {
3631 slog.Helper()

Callers 15

ActiveUsersFunction · 0.45
UsersFunction · 0.45
WorkspacesFunction · 0.45
AgentsFunction · 0.45
AgentStatsFunction · 0.45
RunMethod · 0.45
CollectMethod · 0.45
UpdateMethod · 0.45
RunMethod · 0.45
TestFindMatchingPresetIDFunction · 0.45
TestGithubRateLimitsFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestFindMatchingPresetIDFunction · 0.36
TestGithubRateLimitsFunction · 0.36
TestUpdateJobFunction · 0.36
TestCompleteJobFunction · 0.36