Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf80a1cf

Browse files
authored
fix(coderd/database): add missing v prefix to provisioner_daemons.api_version (#11385)
1 parent068e730 commitf80a1cf

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

‎coderd/database/dump.sql‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ALTERTABLE ONLY provisioner_daemons
2+
ALTER COLUMN api_versionSET DEFAULT'1.0'::text;
3+
UPDATE provisioner_daemons
4+
SET api_version='1.0'
5+
WHERE api_version='v1.0';
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ALTERTABLE ONLY provisioner_daemons
2+
ALTER COLUMN api_versionSET DEFAULT'v1.0'::text;
3+
UPDATE provisioner_daemons
4+
SET api_version='v1.0'
5+
WHERE api_version='1.0';

‎provisionersdk/serve.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424
// APIVersionCurrent is the current provisionerd API version.
2525
// Breaking changes to the provisionerd API **MUST** increment
2626
// the major version below.
27-
APIVersionCurrent="1.0"
27+
APIVersionCurrent="v1.0"
2828
)
2929

3030
// ServeOptions are configurations to serve a provisioner.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp