summaryrefslogtreecommitdiff
path: root/modules/filestorage
diff options
context:
space:
mode:
Diffstat (limited to 'modules/filestorage')
-rw-r--r--modules/filestorage/filestorage.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/filestorage/filestorage.go b/modules/filestorage/filestorage.go
index 0b2d79a..3552609 100644
--- a/modules/filestorage/filestorage.go
+++ b/modules/filestorage/filestorage.go
@@ -59,5 +59,8 @@ func (s *FileStorage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
return nil
}
-// Interface guard
-var _ caddy.StorageConverter = (*FileStorage)(nil)
+// Interface guards
+var (
+ _ caddy.StorageConverter = (*FileStorage)(nil)
+ _ caddyfile.Unmarshaler = (*FileStorage)(nil)
+)