Skip to content

Commit

Permalink
[Ingest Manager] Fix docker build for agent (#20268)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas authored Jul 28, 2020
1 parent 5a37193 commit e278101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/mage/dockerbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (b *dockerBuilder) copyFiles() error {
target := filepath.Join(b.beatDir, f.Target)
if err := Copy(f.Source, target); err != nil {
if f.SkipOnMissing && errors.Is(err, os.ErrNotExist) {
return nil
continue
}
return errors.Wrapf(err, "failed to copy from %s to %s", f.Source, target)
}
Expand Down

0 comments on commit e278101

Please sign in to comment.