Skip to content

Commit

Permalink
Rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
michael.szacillo committed Oct 13, 2020
1 parent b98b51d commit ddc2ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func main() {
panic(err)
}
sessionClient := s3.New(sess)
downloader.Providers[kfstorage.S3] = &storage.S3Provider{
downloader.Providers[kfstorage.S3] = &kfstorage.S3Provider{
Client: sessionClient,
Downloader: s3manager.NewDownloaderWithClient(sessionClient, func(d *s3manager.Downloader) {
}),
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/kfstorage/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type GCSProvider struct {
Client mockapi.Client
}

func (p *GCSProvider) Download(modelDir string, modelName string, storageUri string) error {
func (p *GCSProvider) DownloadModel(modelDir string, modelName string, storageUri string) error {
gcsUri := strings.TrimPrefix(storageUri, string(GCS))
path := strings.Split(gcsUri, "/")
ctx := context.Background()
Expand Down

0 comments on commit ddc2ffb

Please sign in to comment.