fix(enterprise/coderd): check provisionerd API version on connection (#12191)

This commit is contained in:
Cian Johnston
2024-02-16 18:43:07 +00:00
committed by GitHub
parent f17149c59d
commit a2cbb0f87f
11 changed files with 125 additions and 7 deletions
+1 -1
View File
@@ -7,6 +7,7 @@ import (
"golang.org/x/mod/semver"
"github.com/coder/coder/v2/apiversion"
"github.com/coder/coder/v2/buildinfo"
"github.com/coder/coder/v2/coderd/database"
"github.com/coder/coder/v2/coderd/database/db2sdk"
@@ -14,7 +15,6 @@ import (
"github.com/coder/coder/v2/coderd/database/dbtime"
"github.com/coder/coder/v2/coderd/healthcheck/health"
"github.com/coder/coder/v2/coderd/provisionerdserver"
"github.com/coder/coder/v2/coderd/util/apiversion"
"github.com/coder/coder/v2/coderd/util/ptr"
"github.com/coder/coder/v2/codersdk"
"github.com/coder/coder/v2/provisionersdk"