Skip to content

Commit b9d3ac2

Browse files
authored
Update URL that grabs tar.gz for prometheus client_model (#294)
Signed-off-by: rulex123 <[email protected]>
1 parent 6d59718 commit b9d3ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/update-api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ curl -sL https://github.com/census-instrumentation/opencensus-proto/archive/v${O
5050
mkdir -p "${protodir}/opencensus/proto"
5151
cp -r opencensus-proto-*/src/opencensus/proto/* "${protodir}/opencensus/proto"
5252

53-
curl -sL https://github.com/prometheus/client_model/archive/${PROMETHEUS_SHA}.tar.gz | tar xz --wildcards '*.proto'
53+
curl -sL https://github.com/prometheus/client_model/archive/v${PROMETHEUS_SHA}.tar.gz | tar xz --wildcards '*.proto'
5454
mkdir -p "${protodir}/io/prometheus/client/"
5555
cp client_model-*/io/prometheus/client/metrics.proto "${protodir}/io/prometheus/client/"
5656

0 commit comments

Comments
 (0)