mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
fix: check old config val for full backwards compat (#19717)
# Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality
This commit is contained in:
parent
72d8879118
commit
7a552b3acd
2 changed files with 2 additions and 1 deletions
1
changes/fix-s3-back-compat
Normal file
1
changes/fix-s3-back-compat
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Fixes an issue with backwards compatibility with the deprecated `FLEET_S3_*` environment variables.
|
||||
|
|
@ -196,7 +196,7 @@ the way that the Fleet server works.
|
|||
}
|
||||
ds = mds
|
||||
|
||||
if config.S3.CarvesBucket != "" {
|
||||
if config.S3.CarvesBucket != "" || config.S3.Bucket != "" {
|
||||
carveStore, err = s3.NewCarveStore(config.S3, ds)
|
||||
if err != nil {
|
||||
initFatal(err, "initializing S3 carvestore")
|
||||
|
|
|
|||
Loading…
Reference in a new issue