Skip to content

Commit

Permalink
Merge pull request #57 from geeklearningio/feature/fix-blob-upload-co…
Browse files Browse the repository at this point in the history
…ndition

Fix azure store upload condition
  • Loading branch information
arnaudauroux authored Jun 13, 2017
2 parents dba0803 + cd19d2d commit 91fd159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeekLearning.Storage.Azure/AzureStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public async ValueTask<IFileReference> SaveAsync(Stream data, IPrivateFileRefere
data.Seek(0, SeekOrigin.Begin);
var contentMD5 = Convert.ToBase64String(md5.ComputeHash(data));
data.Seek(0, SeekOrigin.Begin);
uploadBlob = (contentMD5 == blockBlob.Properties.ContentMD5);
uploadBlob = (contentMD5 != blockBlob.Properties.ContentMD5);
}
}
}
Expand Down

0 comments on commit 91fd159

Please sign in to comment.