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 eae45b3 commit 5c17809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/booster/bk_dist/booster/pkg/booster.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,10 @@ func (b *Booster) sendAdditionFile() {
if b.config.Works.Local || b.config.Works.Degraded {
return
}

c, _ := os.Getwd()
for i, f := range b.config.Works.AdditionFiles {
if !filepath.IsAbs(f) {
c, _ := os.Getwd()
b.config.Works.AdditionFiles[i] = filepath.Join(c, f)
}
}
Expand Down

0 comments on commit 5c17809

Please sign in to comment.