Skip to content

Commit bb2000a

Browse files
committed
linting
1 parent 31d8e62 commit bb2000a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/provisionerdserver/provisionerdserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,7 @@ func (s *server) completeTemplateImportJob(ctx context.Context, job database.Pro
16971697

16981698
if len(jobType.TemplateImport.ModuleFilesHash) > 0 {
16991699
hashString := hex.EncodeToString(jobType.TemplateImport.ModuleFilesHash)
1700+
//nolint:gocritic // Acting as provisioner
17001701
file, err := db.GetFileByHashAndCreator(dbauthz.AsProvisionerd(ctx), database.GetFileByHashAndCreatorParams{Hash: hashString, CreatedBy: uuid.Nil})
17011702
if err != nil {
17021703
return xerrors.Errorf("get file by hash, it should have been uploaded: %w", err)

0 commit comments

Comments
 (0)