Skip to content

analogsea::spaces doesn't return a list of spaces #214

@krose

Description

@krose

This seems to be caused by a bug in aws.s3, but there seems to be a discussion going on if to use aws.s3 or not. The repo for aws.s3 doesn't seem to be updated with a lot of hanging pull requests, so I'll post the bug here. I hope this is fine.

There are two issues.

One concerning the aws.s3:::parse_aws_s3_response that checks for a content type (ctype) that doesn't match the way the API returns the xml type.

The other issue is with this if statement in the spaces function: if (identical(names(res$Buckets), c("Name", "CreationDate"))) { ... }. In the list the names are reversed compared to the test.

It seems to be two easy fixes, but the lack of development on the aws.s3 makes me hesitant to do a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions