Skip to content

createContainer doesn't return accurate container object. #24

@MeanwhileMedia

Description

@MeanwhileMedia
var makeContainer = new (cloudfiles.Container)(cloudClient, {
   name: tgtContainer,
   cdnEnabled: true,
   ttl: 31556926,
   logRetention: false
});

cloudClient.createContainer(makeContainer, function (err, newContainer) {
});

if the container already exists, and contains files, the 'count' and 'bytes' property of the returned container are not properly populated. They always reads '0'. Also, logRetention remains true,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions