* fix for typo found in perf_data upload to S3 (VRFS-690); also removing old config relating to perf_data_bucket_key
This commit is contained in:
parent
1c4a4f2d76
commit
fca15af824
|
|
@ -436,7 +436,6 @@ input[type="text"], input[type="password"]{
|
|||
/* Following is a style adjustment for the sign-in table spacing */
|
||||
#sign-in td { padding: 4px; }
|
||||
|
||||
|
||||
.spinner-large {
|
||||
background-image: url('/assets/shared/spinner.gif');
|
||||
background-repeat:no-repeat;
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ class ApiMusicSessionsController < ApiController
|
|||
end
|
||||
|
||||
if SampleApp::Application.config.storage_type == :fog
|
||||
uri = @perf_data.uri
|
||||
uri = @perfdata.uri
|
||||
s3 = AWS::S3.new(:access_key_id => SampleApp::Application.config.aws_access_key_id,
|
||||
:secret_access_key => SampleApp::Application.config.aws_secret_access_key)
|
||||
bucket = s3.buckets[SampleApp::Application.config.aws_bucket]
|
||||
|
|
@ -193,7 +193,7 @@ class ApiMusicSessionsController < ApiController
|
|||
write_url = bucket.objects[uri].url_for(:write,
|
||||
:expires => SampleApp::Application.config.perf_data_signed_url_timeout,
|
||||
:'response_content_type' => 'text/csv').to_s
|
||||
logger.debug("*** server can upload to url #{write_url}")
|
||||
logger.debug("*** client can upload to url #{write_url}")
|
||||
redirect_to write_url
|
||||
|
||||
else
|
||||
|
|
|
|||
|
|
@ -138,7 +138,6 @@ if defined?(Bundler)
|
|||
end
|
||||
|
||||
# perf_data configs
|
||||
#config.perf_data_bucket_key = "perf_data"
|
||||
config.perf_data_signed_url_timeout = 3600 * 24 # 1 day
|
||||
|
||||
# crash_dump configs
|
||||
|
|
|
|||
Loading…
Reference in New Issue