Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Monitoring#create_time_series #486

Merged
merged 2 commits into from
Feb 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ci/tasks/run-int.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ EOL

pushd ${release_dir} > /dev/null

echo "Ruby version:"
ruby --version

echo "Bundler version:"
bundler --version

echo "Exporting bundler options..."

# Setting via local config options as BUNDLE_PATH appears to not work
Expand All @@ -38,6 +44,9 @@ echo "Checking dependencies..."
# Check if dependencies are satisfied, otherwise kick off bundle install
bundle check || bundle install --jobs=3 --retry=3

echo "Dependencies resolved to:"
bundle list

echo "Starting test run..."
FOG_MOCK=false COVERAGE=true CODECOV_TOKEN=${codecov_token} rake ${rake_task}

Expand Down
2 changes: 1 addition & 1 deletion fog-google.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "fog-xml", "~> 0.1.0"

# Hard Requirement as of 1.0
spec.add_dependency "google-api-client", ">= 0.23", "< 0.34"
spec.add_dependency "google-api-client", ">= 0.32", "< 0.34"

# Debugger
spec.add_development_dependency "pry"
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/google/requests/monitoring/create_timeseries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def create_timeseries(timeseries: [])
request = ::Google::Apis::MonitoringV3::CreateTimeSeriesRequest.new(
:time_series => timeseries
)
@monitoring.create_time_series("projects/#{@project}", request)
@monitoring.create_project_time_series("projects/#{@project}", request)
end
end

Expand Down