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

Commitf02e82d

Browse files
committed
PR comments
1 parentb21004f commitf02e82d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ func (api *API) CreateInMemoryProvisionerDaemon(ctx context.Context, debounce ti
656656
CreatedAt:database.Now(),
657657
Name:name,
658658
Provisioners: []database.ProvisionerType{database.ProvisionerTypeEcho,database.ProvisionerTypeTerraform},
659-
Tags: dbtype.Map{
659+
Tags: dbtype.StringMap{
660660
provisionerdserver.TagScope:provisionerdserver.ScopeOrganization,
661661
},
662662
})

‎coderd/database/dbtype/dbtype.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"golang.org/x/xerrors"
88
)
99

10-
typeMapmap[string]string
10+
typeStringMapmap[string]string
1111

12-
func (m*Map)Scan(srcinterface{})error {
12+
func (m*StringMap)Scan(srcinterface{})error {
1313
ifsrc==nil {
1414
returnnil
1515
}
@@ -25,6 +25,6 @@ func (m *Map) Scan(src interface{}) error {
2525
returnnil
2626
}
2727

28-
func (mMap)Value() (driver.Value,error) {
28+
func (mStringMap)Value() (driver.Value,error) {
2929
returnjson.Marshal(m)
3030
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ALTERTABLE provisioner_daemons DROP COLUMN auth_token;
21
ALTERTABLE provisioner_daemons DROP COLUMN tags;
2+
ALTERTABLE provisioner_jobs DROP COLUMN tags;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp