swarm, cmd: gofmt updates"

This commit is contained in:
Kiel barry 2018-06-07 17:43:27 -07:00
parent 2158dbc10a
commit e802c8a383
6 changed files with 10 additions and 11 deletions

View file

@ -25,9 +25,9 @@ import (
const ( const (
SwarmfsVersion = "0.1" SwarmfsVersion = "0.1"
mountTimeout = time.Second * 5 mountTimeout = time.Second * 5
unmountTimeout = time.Second * 10 unmountTimeout = time.Second * 10
maxFuseMounts = 5 maxFuseMounts = 5
) )
var ( var (

View file

@ -223,7 +223,6 @@ func (h *Hive) keepAlive() {
} }
} }
func (h *Hive) Stop() error { func (h *Hive) Stop() error {
// closing toggle channel quits the updateloop // closing toggle channel quits the updateloop
close(h.quit) close(h.quit)