Skip to content

Commit e4f6266

Browse files
committed
make upload private
1 parent 48c92b6 commit e4f6266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stack_configuration.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (s stackConfigurations) CreateAndUpload(ctx context.Context, stackID, path
195195
return nil, err
196196
}
197197

198-
err = s.UploadTarGzip(ctx, uploadURL, body)
198+
err = s.uploadTarGzip(ctx, uploadURL, body)
199199
if err != nil {
200200
return nil, err
201201
}
@@ -250,6 +250,6 @@ func (s stackConfigurations) pollForUploadURL(ctx context.Context, stackConfigur
250250
//
251251
// **Note**: This method does not validate the content being uploaded and is therefore the caller's
252252
// responsibility to ensure the raw content is a valid Terraform configuration.
253-
func (s stackConfigurations) UploadTarGzip(ctx context.Context, uploadURL string, archive io.Reader) error {
253+
func (s stackConfigurations) uploadTarGzip(ctx context.Context, uploadURL string, archive io.Reader) error {
254254
return s.client.doForeignPUTRequest(ctx, uploadURL, archive)
255255
}

0 commit comments

Comments
 (0)