Skip to content

feat: adding template version id to workspace build diff #5841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 24, 2023
Merged
Changes from 1 commit
Commits
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
fix tests
  • Loading branch information
Kira-Pilot committed Jan 24, 2023
commit 2e4db52f7d4436db6b3ea2e1648c5fe141e935d5
4 changes: 2 additions & 2 deletions coderd/provisionerdserver/provisionerdserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func (server *Server) FailJob(ctx context.Context, failJob *proto.FailedJob) (*p
BuildNumber: previousBuildNumber,
})
if prevBuildErr != nil {
server.Logger.Error(ctx, "audit log - get prev build", slog.Error(prevBuildErr))
previousBuild = database.WorkspaceBuild{}
}
// We pass the below information to the Auditor so that it
// can form a friendly string for the user to view in the UI.
Expand Down Expand Up @@ -811,7 +811,7 @@ func (server *Server) CompleteJob(ctx context.Context, completed *proto.Complete
BuildNumber: previousBuildNumber,
})
if prevBuildErr != nil {
server.Logger.Error(ctx, "audit log - get prev build", slog.Error(prevBuildErr))
previousBuild = database.WorkspaceBuild{}
}

// We pass the below information to the Auditor so that it
Expand Down