Commit Graph

5 Commits

Author SHA1 Message Date
Michael Henriksen
795d353d2f
fix weirdly broken test (verifying fsgroup on block device) (#1195)
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-05-04 21:03:18 +02:00
Alexander Wels
17db2920b1
Update clone controller to use runtime library. (#1075)
Signed-off-by: Alexander Wels <awels@redhat.com>

Co-authored-by: Michael Henriksen <mhenriks@redhat.com>
2020-02-14 23:04:46 +01:00
j-griffith
0a84e2fa8c Add lint checks to remaining go src directories
This finishes up the last of the golint implementation, with the
addition of the cmd, tests and tools directories we are now running
golint tests on all of the current go source files in the project.

This change adds all the little fixes (mostly just commenting and
naming) and also enables the new diretories in the lint test that we
gate on.
2018-09-29 08:35:21 -06:00
John Griffith
c455577cca Fix lint errors on common package (#449)
This change just updates the common package to pass golint.  Of course
that has some reaching implications into other packages with renaming of
constants.

I've intentionally kept this patch set to the bare minimum for the lint
test, I do think that we should put some effort into our use of
constants (especially those in common.go) in the future.

Ideally we'd declare constants where they're used, and we wouldn't
export them if they don't need to be.  There are some in here that
are only used in one or two packages, and that can be cleaned up pretty
easily however it's likely that there might be plans to use them
elsewhere in the future.
2018-09-10 09:14:09 -04:00
Alexander Wels
ac638c8107 Add cloner e2e tests (#372)
- Positive test clone from namespace into same namespace.
- Positive test clone from namespace into other namespace.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-28 14:12:07 -07:00