Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix s/continue/break/
  • Loading branch information
mafredri committed Jan 23, 2023
commit c132d4eb6eb4a5c12cef4177c068a9516470f5d7
2 changes: 1 addition & 1 deletion agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (a *agent) reportLifecycleLoop(ctx context.Context) {
a.lifecycleMu.Unlock()

if state == lastReported {
continue
break
}

err := a.client.PostWorkspaceAgentLifecycle(ctx, codersdk.PostWorkspaceAgentLifecycleRequest{
Expand Down