Skip to content

Azure Storage getfiles issue and fix #686

Description

@ashkank83

Hi,
It looks like the following line is causing an issue when getting a list of files in Azure storage:

if (body.Blobs && body.Blobs.Blob) {

when modified to following the result comes back correctly :

if (body.EnumerationResults.Blobs && body.EnumerationResults.Blobs.Blob) {
      return callback(null, self._toArray(body.EnumerationResults.Blobs.Blob).map(function (file) {
        file.container = container;
        return new storage.File(self, file);
      }));
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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