Update azure backend for newer sdk

This commit is contained in:
Jeff Mitchell 2016-04-26 00:08:07 +00:00
parent 81137128b9
commit f00beb4e32

View file

@ -114,7 +114,7 @@ func (a *AzureBackend) Get(key string) (*Entry, error) {
// Delete is used to permanently delete an entry
func (a *AzureBackend) Delete(key string) error {
defer metrics.MeasureSince([]string{"azure", "delete"}, time.Now())
_, err := a.client.DeleteBlobIfExists(a.container, key)
_, err := a.client.DeleteBlobIfExists(a.container, key, nil)
return err
}