Dan Salmon
Dan Salmon
``` go: module github.com/streadway/amqp is deprecated: Consider using the github.com/rabbitmq/amqp091-go package instead. ```
Vultr objects is just too flaky to depend on for automated testing. Fire up an S3 Ninja container, programmatically create some test buckets, and use those for testing.
Haven't run into 429's yet in testing, but if we crank the threads up enough it's bound to happen. Probably test against AWS and see what happens. If we start...
Set a sane timeout for API calls using context ```go // Set timeout of 5 seconds ctx := context.TODO() ctx, cancel := context.WithTimeout(ctx, 5*time.Second) defer cancel() ``` Test using Vultr...
See if it’s possible to determine if a bucket does not exist vs access denied https://github.com/minio/minio/issues/7737 https://github.com/minio/minio-go/blob/8be815434d9eec0126e6559ea558ba60b18b8992/api-stat.go#L29 * MinIO * Responds with 403 Forbidden when doing a bucketExists check (HEAD...
https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-profiles
Mainly in main.go but also add debug logging to the different modules - `log.Println` - `fmt.Println` - `failOnError` - `logrus` Test with `-debug` flag
- Add tests to verify JSON output contains the custom provider name in `provider` field. Interface enforces `Name()` existing, but not that we call it.