Skip to content

Commit d0361a0

Browse files
author
Chris Grass
committed
i forgot how golang works.
Signed-off-by: Chris Grass <chris.grass@mcg.com>
1 parent 141d6bd commit d0361a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flyteadmin/pkg/data/implementations/azure_remote_url.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type AzureRemoteURL struct {
1919
func (n *AzureRemoteURL) Get(ctx context.Context, uri string) (*admin.UrlBlob, error) {
2020
metadata, err := n.remoteDataStoreClient.Head(ctx, storage.DataReference(uri))
2121
if err != nil {
22-
return *admin.UrlBlob{}, errors.NewFlyteAdminErrorf(codes.Internal,
22+
return &admin.UrlBlob{}, errors.NewFlyteAdminErrorf(codes.Internal,
2323
"failed to get metadata for uri: %s with err: %v", uri, err)
2424
}
2525

@@ -28,11 +28,11 @@ func (n *AzureRemoteURL) Get(ctx context.Context, uri string) (*admin.UrlBlob, e
2828
ExpiresIn: n.presignDuration,
2929
})
3030
if err != nil {
31-
return *admin.UrlBlob{}, errors.NewFlyteAdminErrorf(codes.Internal,
31+
return &admin.UrlBlob{}, errors.NewFlyteAdminErrorf(codes.Internal,
3232
"failed to get metadata for uri: %s with err: %v", uri, err)
3333
}
3434

35-
return *admin.UrlBlob{
35+
return &admin.UrlBlob{
3636
Url: signedUri.URL.String(),
3737
Bytes: metadata.Size(),
3838
}, nil

0 commit comments

Comments
 (0)