We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15081e8 commit 089a5efCopy full SHA for 089a5ef
coderd/agentapi/api.go
@@ -278,6 +278,7 @@ func (a *API) refreshCachedWorkspace(ctx context.Context) {
278
ws, err := a.opts.Database.GetWorkspaceByID(ctx, a.opts.WorkspaceID)
279
if err != nil {
280
a.opts.Log.Warn(ctx, "failed to refresh cached workspace fields", slog.Error(err))
281
+ a.cachedWorkspaceFields.Clear()
282
return
283
}
284
0 commit comments