feat: add README parsing to template versions (#1500)

This commit is contained in:
Colin Adler
2022-05-17 15:00:48 -05:00
committed by GitHub
parent 0f9559a784
commit 98ccd0eb89
22 changed files with 213 additions and 87 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ func (api *api) workspaceAgentListen(rw http.ResponseWriter, r *http.Request) {
if err != nil {
return err
}
if build.ID.String() != latestBuild.ID.String() {
if build.ID != latestBuild.ID {
return xerrors.New("build is outdated")
}
return nil