mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-22 20:53:32 +08:00
"golang.org/x/exp/slices" => "slices" and go fmt
This commit is contained in:
@@ -112,7 +112,7 @@ func (g *AzureSink) CreateEntry(key string, entry *filer_pb.Entry, signatures []
|
||||
appendBlobURL := g.containerURL.NewAppendBlobURL(key)
|
||||
|
||||
accessCondition := azblob.BlobAccessConditions{}
|
||||
if entry.Attributes!=nil && entry.Attributes.Mtime>0 {
|
||||
if entry.Attributes != nil && entry.Attributes.Mtime > 0 {
|
||||
accessCondition.ModifiedAccessConditions.IfUnmodifiedSince = time.Unix(entry.Attributes.Mtime, 0)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user