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

Commitde07351

Browse files
authored
fix: access the templateVersion.HasAITask field properly (#18434)
1 parent1357a3a commitde07351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8500,7 +8500,7 @@ func (q *FakeQuerier) HasTemplateVersionsWithAITask(_ context.Context) (bool, er
85008500
deferq.mutex.RUnlock()
85018501

85028502
for_,templateVersion:=rangeq.templateVersions {
8503-
iftemplateVersion.HasAITask {
8503+
iftemplateVersion.HasAITask.Valid&&templateVersion.HasAITask.Bool {
85048504
returntrue,nil
85058505
}
85068506
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp