Skip to content

Commit 6a4dce4

Browse files
committed
fmt
1 parent 3479450 commit 6a4dce4

30 files changed

+11070
-11069
lines changed

docs/admin/security/audit-logs.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -81,34 +81,34 @@ Example of a [JSON formatted](../cli/server.md#--log-json) audit log entry:
8181

8282
```json
8383
{
84-
"ts": "2023-06-13T03:45:37.294730279Z",
85-
"level": "INFO",
86-
"msg": "audit_log",
87-
"caller": "/home/runner/work/coder/coder/enterprise/audit/backends/slog.go:36",
88-
"func": "github.com/coder/coder/enterprise/audit/backends.slogBackend.Export",
89-
"logger_names": ["coderd"],
90-
"fields": {
91-
"ID": "033a9ffa-b54d-4c10-8ec3-2aaf9e6d741a",
92-
"Time": "2023-06-13T03:45:37.288506Z",
93-
"UserID": "6c405053-27e3-484a-9ad7-bcb64e7bfde6",
94-
"OrganizationID": "00000000-0000-0000-0000-000000000000",
95-
"Ip": "{IPNet:{IP:\u003cnil\u003e Mask:\u003cnil\u003e} Valid:false}",
96-
"UserAgent": "{String: Valid:false}",
97-
"ResourceType": "workspace_build",
98-
"ResourceID": "ca5647e0-ef50-4202-a246-717e04447380",
99-
"ResourceTarget": "",
100-
"Action": "start",
101-
"Diff": {},
102-
"StatusCode": 200,
103-
"AdditionalFields": {
104-
"workspace_name": "linux-container",
105-
"build_number": "9",
106-
"build_reason": "initiator",
107-
"workspace_owner": ""
108-
},
109-
"RequestID": "bb791ac3-f6ee-4da8-8ec2-f54e87013e93",
110-
"ResourceIcon": ""
111-
}
84+
"ts": "2023-06-13T03:45:37.294730279Z",
85+
"level": "INFO",
86+
"msg": "audit_log",
87+
"caller": "/home/runner/work/coder/coder/enterprise/audit/backends/slog.go:36",
88+
"func": "github.com/coder/coder/enterprise/audit/backends.slogBackend.Export",
89+
"logger_names": ["coderd"],
90+
"fields": {
91+
"ID": "033a9ffa-b54d-4c10-8ec3-2aaf9e6d741a",
92+
"Time": "2023-06-13T03:45:37.288506Z",
93+
"UserID": "6c405053-27e3-484a-9ad7-bcb64e7bfde6",
94+
"OrganizationID": "00000000-0000-0000-0000-000000000000",
95+
"Ip": "{IPNet:{IP:\u003cnil\u003e Mask:\u003cnil\u003e} Valid:false}",
96+
"UserAgent": "{String: Valid:false}",
97+
"ResourceType": "workspace_build",
98+
"ResourceID": "ca5647e0-ef50-4202-a246-717e04447380",
99+
"ResourceTarget": "",
100+
"Action": "start",
101+
"Diff": {},
102+
"StatusCode": 200,
103+
"AdditionalFields": {
104+
"workspace_name": "linux-container",
105+
"build_number": "9",
106+
"build_reason": "initiator",
107+
"workspace_owner": ""
108+
},
109+
"RequestID": "bb791ac3-f6ee-4da8-8ec2-f54e87013e93",
110+
"ResourceIcon": ""
111+
}
112112
}
113113
```
114114

docs/admin/templates/creating-templates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ coder templates edit universal-template \
8080

8181
### CI/CD
8282

83-
Follow the [change management](./managing-templates/change-management.md) guide to manage templates via GitOps.
83+
Follow the [change management](./managing-templates/change-management.md) guide
84+
to manage templates via GitOps.
8485

8586
</div>
8687

docs/admin/users/oidc-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ OIDC provider will be added to the `myCoderGroupName` group in Coder.
219219
> **Note:** Groups are only updated on login.
220220

221221
[azure-gids]:
222-
https://github.com/MicrosoftDocs/azure-docs/issues/59766#issuecomment-664387195
222+
https://github.com/MicrosoftDocs/azure-docs/issues/59766#issuecomment-664387195
223223

224224
### Group allowlist
225225

docs/contributing/frontend.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,17 @@ within the component's story.
125125

126126
```tsx
127127
export const WithQuota: Story = {
128-
parameters: {
129-
queries: [
130-
{
131-
key: getWorkspaceQuotaQueryKey(MockUser.username),
132-
data: {
133-
credits_consumed: 2,
134-
budget: 40,
135-
},
136-
},
137-
],
138-
},
128+
parameters: {
129+
queries: [
130+
{
131+
key: getWorkspaceQuotaQueryKey(MockUser.username),
132+
data: {
133+
credits_consumed: 2,
134+
budget: 40,
135+
},
136+
},
137+
],
138+
},
139139
};
140140
```
141141

@@ -150,12 +150,12 @@ example below:
150150

151151
```ts
152152
export const getAgentListeningPorts = async (
153-
agentID: string,
153+
agentID: string,
154154
): Promise<TypesGen.ListeningPortsResponse> => {
155-
const response = await axiosInstance.get(
156-
`/api/v2/workspaceagents/${agentID}/listening-ports`,
157-
);
158-
return response.data;
155+
const response = await axiosInstance.get(
156+
`/api/v2/workspaceagents/${agentID}/listening-ports`,
157+
);
158+
return response.data;
159159
};
160160
```
161161

@@ -164,10 +164,10 @@ wrap it as a single function.
164164

165165
```ts
166166
export const updateWorkspaceVersion = async (
167-
workspace: TypesGen.Workspace,
167+
workspace: TypesGen.Workspace,
168168
): Promise<TypesGen.WorkspaceBuild> => {
169-
const template = await getTemplate(workspace.template_id);
170-
return startWorkspace(workspace.id, template.active_version_id);
169+
const template = await getTemplate(workspace.template_id);
170+
return startWorkspace(workspace.id, template.active_version_id);
171171
};
172172
```
173173

@@ -214,10 +214,10 @@ inside the component itself using MUI's `visuallyHidden` utility function.
214214
import { visuallyHidden } from "@mui/utils";
215215

216216
<Button>
217-
<GearIcon />
218-
<Box component="span" sx={visuallyHidden}>
219-
Settings
220-
</Box>
217+
<GearIcon />
218+
<Box component="span" sx={visuallyHidden}>
219+
Settings
220+
</Box>
221221
</Button>;
222222
```
223223

docs/install/kubernetes.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -125,23 +125,23 @@ For the **mainline** Coder release:
125125

126126
<!-- autoversion(mainline): "--version [version]" -->
127127

128-
```shell
129-
helm install coder coder-v2/coder \
130-
--namespace coder \
131-
--values values.yaml \
132-
--version 2.14.2
133-
```
134-
135-
For the **stable** Coder release:
136-
137-
<!-- autoversion(stable): "--version [version]" -->
138-
139-
```shell
140-
helm install coder coder-v2/coder \
141-
--namespace coder \
142-
--values values.yaml \
143-
--version 2.13.5
144-
```
128+
```shell
129+
helm install coder coder-v2/coder \
130+
--namespace coder \
131+
--values values.yaml \
132+
--version 2.14.2
133+
```
134+
135+
For the **stable** Coder release:
136+
137+
<!-- autoversion(stable): "--version [version]" -->
138+
139+
```shell
140+
helm install coder coder-v2/coder \
141+
--namespace coder \
142+
--values values.yaml \
143+
--version 2.13.5
144+
```
145145

146146
You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder
147147
has started, the `coder-*` pods should enter the `Running` state.

0 commit comments

Comments
 (0)