Skip to content

Commit dee1968

Browse files
committed
fix
1 parent f310c71 commit dee1968

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

coderd/database/databasefake/databasefake.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,15 +1247,15 @@ func (q *fakeQuerier) InsertGitSSHKey(_ context.Context, arg database.InsertGitS
12471247
defer q.mutex.Unlock()
12481248

12491249
//nolint:gosimple
1250-
GitSSHKey := database.GitSSHKey{
1250+
gitSSHKey := database.GitSSHKey{
12511251
UserID: arg.UserID,
12521252
CreatedAt: arg.CreatedAt,
12531253
UpdatedAt: arg.UpdatedAt,
12541254
PrivateKey: arg.PrivateKey,
12551255
PublicKey: arg.PublicKey,
12561256
}
1257-
q.GitSSHKey = append(q.GitSSHKey, GitSSHKey)
1258-
return GitSSHKey, nil
1257+
q.GitSSHKey = append(q.GitSSHKey, gitSSHKey)
1258+
return gitSSHKey, nil
12591259
}
12601260

12611261
func (q *fakeQuerier) GetGitSSHKey(_ context.Context, userID uuid.UUID) (database.GitSSHKey, error) {

peerbroker/proto/peerbroker.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

provisionerd/proto/provisionerd.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

provisionersdk/proto/provisioner.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)