Skip to content

Commit 99f2178

Browse files
committed
generate doc
1 parent e5b9ac6 commit 99f2178

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

codersdk/provisionerdaemons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func (c *Client) GetProvisionerKey(ctx context.Context, pk string) (ProvisionerK
377377
},
378378
)
379379
if err != nil {
380-
return ProvisionerKey{}, xerrors.Errorf("make request: %w", err)
380+
return ProvisionerKey{}, xerrors.Errorf("request to fetch provisioner key failed: %w", err)
381381
}
382382
defer res.Body.Close()
383383

enterprise/coderd/provisionerkeys_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ func TestProvisionerKey(t *testing.T) {
139139
t.Run("GetKey", func(t *testing.T) {
140140
t.Parallel()
141141

142-
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitShort)
143-
t.Cleanup(cancel)
142+
ctx := testutil.Context(t, testutil.WaitShort)
143+
144144
dv := coderdtest.DeploymentValues(t)
145145
client, owner := coderdenttest.New(t, &coderdenttest.Options{
146146
Options: &coderdtest.Options{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy