From 75633817a7bd5ea10df75a8ed4e12c4498680d9b Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Fri, 21 Dec 2018 02:10:17 +0100 Subject: [PATCH] etcd: Ensure that fs.Fs implements afero.Fs --- etcd/fs/fs_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etcd/fs/fs_test.go b/etcd/fs/fs_test.go index 3988ee56..1a3f6464 100644 --- a/etcd/fs/fs_test.go +++ b/etcd/fs/fs_test.go @@ -43,6 +43,9 @@ const ( superblock = "/some/superblock" // TODO: generate randomly per test? ) +// Ensure that etcdfs.Fs implements afero.Fs. +var _ afero.Fs = &etcdfs.Fs{} + // runEtcd starts etcd locally via the mgmt binary. It returns a function to // kill the process which the caller must use to clean up. func runEtcd() (func() error, error) {