Skip to content

Commit

Permalink
bk-booster -af支持目录 TencentBlueKing#106
Browse files Browse the repository at this point in the history
  • Loading branch information
tbs60 committed Aug 9, 2023
1 parent 43ca6b9 commit 27caf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/booster/bk_dist/booster/pkg/booster.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ func (b *Booster) parseDir() {
info := dcFile.Stat(f)
if info.Basic().IsDir() {
for _, d := range dir {
if strings.HasPrefix(d, f) {
if strings.HasPrefix(f, d) {
blog.Infof("booster: get aditonal file, dir(%s) is subdir of (%s), skip", f, d)
continue
}
Expand Down

0 comments on commit 27caf85

Please sign in to comment.