resource: Use path.Match instead of filepath.Match
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 17 Jan 2018 19:47:35 +0000 (20:47 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 17 Jan 2018 19:48:31 +0000 (20:48 +0100)
commit4eb1650bec0be0da57947fc8ee9b3c641d5e35dd
treebd7b27201ca8f5a143cc53802ce57f29e61645c8
parent20c9b6ec81171d1c586ea31d5d08b40b0edaffc6
resource: Use path.Match instead of filepath.Match

They behave similar, but it is a path we're matching.

See #4244
resource/resource.go