fuse: bugfix: ignore empty tags

This commit is contained in:
Tobias Klein 2017-10-16 16:22:08 +02:00
parent faadbd734b
commit b57ca64275
1 changed files with 3 additions and 1 deletions

View File

@ -78,10 +78,12 @@ func updateTagNames(d *TagsDir) {
d.tags = make(map[string]bool, len(d.root.snapshots))
for _, snapshot := range d.root.snapshots {
for _, tag := range snapshot.Tags {
if tag != "" {
d.tags[tag] = true
}
}
}
}
}
// read host names from the current repository-state.