Skip to content

Commit 0f07562

Browse files
committed
Fix spacing
1 parent 5f1b8d2 commit 0f07562

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

docs/resources/project_access_token.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ resource "gitlab_project_access_token" "example" {
1515
}
1616
1717
resource "gitlab_project_variable" "example" {
18-
project = gitlab_project.example.id
19-
key = "pat"
20-
value = gitlab_project_access_token.example.token
18+
project = gitlab_project.example.id
19+
key = "pat"
20+
value = gitlab_project_access_token.example.token
2121
}
2222
```
2323

gitlab/resource_gitlab_project_access_token_test.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ resource "gitlab_project" "foo" {
191191
}
192192
193193
resource "gitlab_project_access_token" "bar" {
194-
name = "my project token"
195-
project = gitlab_project.foo.id
196-
expires_at = "2022-04-01"
197-
scopes = ["read_repository" , "api", "write_repository", "read_api"]
194+
name = "my project token"
195+
project = gitlab_project.foo.id
196+
expires_at = "2022-04-01"
197+
scopes = ["read_repository" , "api", "write_repository", "read_api"]
198198
}
199199
`, rInt)
200200
}
@@ -211,10 +211,10 @@ resource "gitlab_project" "foo" {
211211
}
212212
213213
resource "gitlab_project_access_token" "bar" {
214-
name = "my new project token"
215-
project = gitlab_project.foo.id
216-
expires_at = "2022-05-01"
217-
scopes = ["api"]
214+
name = "my new project token"
215+
project = gitlab_project.foo.id
216+
expires_at = "2022-05-01"
217+
scopes = ["api"]
218218
}
219219
`, rInt)
220220
}
@@ -231,17 +231,17 @@ resource "gitlab_project" "foo" {
231231
}
232232
233233
resource "gitlab_project_access_token" "bar" {
234-
name = "my new project token"
235-
project = gitlab_project.foo.id
236-
expires_at = "2022-05-01"
237-
scopes = ["api"]
234+
name = "my new project token"
235+
project = gitlab_project.foo.id
236+
expires_at = "2022-05-01"
237+
scopes = ["api"]
238238
}
239239
240240
241241
resource "gitlab_project_variable" "var" {
242-
project = gitlab_project.foo.id
243-
key = "my_proj_access_token"
244-
value = gitlab_project_access_token.bar.token
242+
project = gitlab_project.foo.id
243+
key = "my_proj_access_token"
244+
value = gitlab_project_access_token.bar.token
245245
}
246246
247247
`, rInt)

0 commit comments

Comments
 (0)