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

Also, the `UpdateOrganization` and `CreateOrganizationPool` functions will
never fail on update/create org, because it returns a nil error, instead
of wrap error.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
2022-10-10 14:45:55 +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 more organizations.go unit testing 2022-10-06 11:59:05 +03:00
pools.go Add license headers 2022-05-05 13:25:50 +00:00
repositories.go Make owners and repos case insensitive 2022-10-05 18:14:07 +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