Skip to content

Commit f5fe4b7

Browse files
committed
linting
1 parent bbd0803 commit f5fe4b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ func prepareStaticPreview(ctx context.Context, db database.Store, version uuid.U
336336
params = append(params, param)
337337
}
338338

339-
return func(ctx context.Context, values map[string]string) (*preview.Output, hcl.Diagnostics) {
339+
return func(_ context.Context, values map[string]string) (*preview.Output, hcl.Diagnostics) {
340340
for i := range params {
341341
param := &params[i]
342342
paramValue, ok := values[param.Name]

coderd/parameters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,6 @@ type dbRejectGitSSHKey struct {
292292
database.Store
293293
}
294294

295-
func (d *dbRejectGitSSHKey) GetGitSSHKey(_ context.Context, _ uuid.UUID) (database.GitSSHKey, error) {
295+
func (_ *dbRejectGitSSHKey) GetGitSSHKey(_ context.Context, _ uuid.UUID) (database.GitSSHKey, error) {
296296
return database.GitSSHKey{}, xerrors.New("forcing a fake error")
297297
}

0 commit comments

Comments
 (0)