source-controller/controllers
Erik Hollensbe 687b79a7dd Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid
filepath.Walk can return a `nil` for the stat value, when it does, the
directory is invalid and the error will be set. This causes a
panic+crash if the directory does not currently exist when
RemoveAllButCurrent is called.

The following patch makes the behavior an error instead.

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-15 18:50:09 +00:00
..
testdata controllers: test HelmRepository TLS auth 2020-04-17 10:41:24 +02:00
gitrepository_controller.go Support programming excluded patterns in gitrepository spec 2020-07-08 14:38:44 +00:00
gitrepository_controller_test.go testserver: move from internal to pkg 2020-06-30 11:48:14 +02:00
helmchart_controller.go Implement event recording 2020-07-03 08:46:26 +03:00
helmchart_controller_test.go testserver: move from internal to pkg 2020-06-30 11:48:14 +02:00
helmrepository_controller.go Implement event recording 2020-07-03 08:46:26 +03:00
helmrepository_controller_test.go testserver: move from internal to pkg 2020-06-30 11:48:14 +02:00
predicate.go controller: Move SyncAt annotation to API 2020-04-20 10:51:33 +03:00
storage.go Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid 2020-07-15 18:50:09 +00:00
storage_test.go Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid 2020-07-15 18:50:09 +00:00
suite_test.go Add constants for kind names 2020-07-10 12:07:54 +02:00