local: add followpaths to the cache key
FollowPaths is a special case of IncludePatterns and should behave same way. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
628681f8e4
commit
132d08a1cc
|
@ -80,7 +80,8 @@ func (ls *localSourceHandler) CacheKey(ctx context.Context, index int) (string,
|
|||
SessionID string
|
||||
IncludePatterns []string
|
||||
ExcludePatterns []string
|
||||
}{SessionID: sessionID, IncludePatterns: ls.src.IncludePatterns, ExcludePatterns: ls.src.ExcludePatterns})
|
||||
FollowPaths []string
|
||||
}{SessionID: sessionID, IncludePatterns: ls.src.IncludePatterns, ExcludePatterns: ls.src.ExcludePatterns, FollowPaths: ls.src.FollowPaths})
|
||||
if err != nil {
|
||||
return "", false, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue