terraform/backend/remote
Sander van Harmelen 4aeb67b8ff backend/remote: handle empty results correctly
The pagination info of a list call that returns an empty list contains:

```go
CurrentPage: 1
TotalPages: 0
```

So checking if we have seen all pages using `CurrentPage == TotalPages` will not work and will result in an endless loop.

The tests are updated so they will fail (timeout after 1m) if this is handled incorreclty.
2018-09-17 16:22:54 +02:00
..
test-fixtures backend/remote: use a search query and use pagination 2018-09-09 21:29:50 +02:00
backend.go backend/remote: handle empty results correctly 2018-09-17 16:22:54 +02:00
backend_mock.go backend/remote: handle empty results correctly 2018-09-17 16:22:54 +02:00
backend_plan.go backend/remote: take working directories into account 2018-08-31 20:35:16 +02:00
backend_plan_test.go backend/remote: take working directories into account 2018-08-31 20:35:16 +02:00
backend_state.go backend/remote: add support for state locking 2018-09-10 19:49:53 +02:00
backend_state_test.go backend/remote: add support for state locking 2018-09-10 19:49:53 +02:00
backend_test.go backend/remote: add support for state locking 2018-09-10 19:49:53 +02:00
cli.go Implement the Enterprise enhanced remote backend 2018-08-03 22:22:55 +02:00
testing.go backend/remote: take working directories into account 2018-08-31 20:35:16 +02:00