garm/database/sql
Mihaela Balutoiu 36a51f83ab Fixed error wrap
The error is not wrapped correctly, because instead of using `q.Error`,
it uses `err`, which is defined elsewhere.

Also, the `UpdateRepository` and `CreateRepositoryPool` functions will
never fail on update/create repo, because it returns a nil error, instead
of wrap error.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
2022-10-17 17:48:00 +03:00
..
controller.go Add license headers 2022-05-05 13:25:50 +00:00
controller_test.go Create a testing package for common utilities 2022-09-15 17:48:09 +03:00
instances.go Fix typo 2022-09-15 19:18:28 +03:00
instances_test.go Add instances.go database unit tests 2022-09-28 17:29:40 +03:00
models.go Make owners and repos case insensitive 2022-10-05 18:14:07 +03:00
organizations.go Fixed error wrap 2022-10-10 14:45:55 +03:00
organizations_test.go Add organizations.go database unit testing 2022-10-12 17:27:08 +03:00
pools.go Add license headers 2022-05-05 13:25:50 +00:00
pools_test.go Add pools.go database unit tests 2022-10-13 17:57:00 +03:00
repositories.go Fixed error wrap 2022-10-17 17:48:00 +03:00
repositories_test.go Add more test cases for the database/sql/repositories.go 2022-10-17 13:35:38 +03:00
sql.go Make owners and repos case insensitive 2022-10-05 18:14:07 +03:00
users.go Make owners and repos case insensitive 2022-10-05 18:14:07 +03:00
util.go Make runner-bootstrap-timeout optional 2022-07-06 17:37:18 +00:00