convertProvisionedApps converts applications that are in the middle of provisioning process. It means that they may not have an agent or workspace assigned (dry-run job).
(dbApps []database.WorkspaceApp)
| 1652 | // convertProvisionedApps converts applications that are in the middle of provisioning process. |
| 1653 | // It means that they may not have an agent or workspace assigned (dry-run job). |
| 1654 | func convertProvisionedApps(dbApps []database.WorkspaceApp) []codersdk.WorkspaceApp { |
| 1655 | return db2sdk.Apps(dbApps, []database.WorkspaceAppStatus{}, database.WorkspaceAgent{}, "", database.WorkspaceTable{}) |
| 1656 | } |
| 1657 | |
| 1658 | func convertLogSources(dbLogSources []database.WorkspaceAgentLogSource) []codersdk.WorkspaceAgentLogSource { |
| 1659 | logSources := make([]codersdk.WorkspaceAgentLogSource, 0) |
no test coverage detected