Skip to content

Commit 69180ae

Browse files
deliahuvishalbollu
authored andcommitted
Use AWS client in the model's bucket region in TensorFlow validator (#866)
(cherry picked from commit d5e80d2)
1 parent b8483bf commit 69180ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/operator/validations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ func getTFServingExportFromS3Path(path string, awsClient *aws.Client) (string, e
545545
return "", err
546546
}
547547

548-
objects, err := config.AWS.ListPathDir(path, 1000)
548+
objects, err := awsClient.ListPathDir(path, 1000)
549549
if err != nil {
550550
return "", err
551551
} else if len(objects) == 0 {

0 commit comments

Comments
 (0)