This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
GPII-4057: Fix use of removed to_hash in custom Stackdriver code #472
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ruby protobuf library removed
to_hash
methods (see details protocolbuffers/protobuf#6166) which breaks our Stackdriver code. This PR fixes the issue.Changes:
to_h
instead of removedto_hash
methodThe error below happens on the current fresh build of
exekube
image (although is not present in thegpii/exekube:0.9.2-google_gpii.0
tag):Note: Looks like our
exekube
builds are a bit behind, so quite a few libraries got updated when rebuilding from scratch, probably caused by combination of caching and use ofalpine:3.8
:Moving to newer Alpine (
3.10
is latest) is still blocked bygrpc
(which is required for Stackdriver code) failing to build withgcc8
(see grpc/grpc#14452 for details).