Is your feature request related to a problem? Please describe.
Setting multiple configuration options for the storage service results in no errors. Yet these are mutually exclusive options. If the user sets up two or more only one of them will work whatever is the first in the switch statement.
Describe the solution you'd like
Return an error or crash the program if multiple storage configuration options have been setup. This forces the user to set the expected configuration.
Describe alternatives you've considered
Set up a priority of configuration options. For example if the options for S3 have been setup but also URLs then URLs will be used instead.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Setting multiple configuration options for the storage service results in no errors. Yet these are mutually exclusive options. If the user sets up two or more only one of them will work whatever is the first in the switch statement.
Describe the solution you'd like
Return an error or crash the program if multiple storage configuration options have been setup. This forces the user to set the expected configuration.
Describe alternatives you've considered
Set up a priority of configuration options. For example if the options for S3 have been setup but also URLs then URLs will be used instead.
Additional context
Add any other context or screenshots about the feature request here.