etcd: Ensure that fs.Fs implements afero.Fs

This commit is contained in:
Tom Payne
2018-12-21 02:10:17 +01:00
committed by James Shubin
parent 83b00fce3e
commit 75633817a7

View File

@@ -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) {