Merge pull request #524 from kevinetc123/patch-1

Remove redundant code
This commit is contained in:
Phil Estes
2017-02-15 15:47:12 -05:00
committed by GitHub

View File

@@ -186,7 +186,8 @@ func (cs *Store) Walk(fn WalkFunc) error {
if path == root {
return nil
} else if filepath.Dir(path) == root {
}
if filepath.Dir(path) == root {
alg = digest.Algorithm(filepath.Base(path))
if !alg.Available() {