good morning!!!!

Skip to content
Snippets Groups Projects
Commit f5b128a5 authored by Louis Holbrook's avatar Louis Holbrook Committed by Anton Evangelatov
Browse files

swarm/fuse: Hotfix missing parantheses in statement

parent fd982d3f
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,10 @@ func (swarmfs *SwarmFS) Mount(mhash, mountpoint string) (*MountInfo, error) { ...@@ -120,6 +120,10 @@ func (swarmfs *SwarmFS) Mount(mhash, mountpoint string) (*MountInfo, error) {
log.Trace("swarmfs mount: traversing manifest map") log.Trace("swarmfs mount: traversing manifest map")
for suffix, entry := range manifestEntryMap { for suffix, entry := range manifestEntryMap {
if suffix == "" { //empty suffix means that the file has no name - i.e. this is the default entry in a manifest. Since we cannot have files without a name, let us ignore this entry
log.Warn("Manifest has an empty-path (default) entry which will be ignored in FUSE mount.")
continue
}
addr := common.Hex2Bytes(entry.Hash) addr := common.Hex2Bytes(entry.Hash)
fullpath := "/" + suffix fullpath := "/" + suffix
basepath := filepath.Dir(fullpath) basepath := filepath.Dir(fullpath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment