Skip to content

Commit

Permalink
also fix azure location
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Aug 5, 2024
1 parent c526bd9 commit a4930ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/pipeline/sink/uploader/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"fmt"
"net/url"
"os"
"path"

"github.com/Azure/azure-storage-blob-go/azblob"

Expand Down Expand Up @@ -89,5 +88,5 @@ func (u *AzureUploader) upload(localFilepath, storageFilepath string, outputType
return "", 0, errors.ErrUploadFailed("Azure", err)
}

return path.Join(u.container, storageFilepath), stat.Size(), nil
return fmt.Sprintf("%s/%s", u.container, storageFilepath), stat.Size(), nil
}

0 comments on commit a4930ce

Please sign in to comment.