lp:~cjwatson/prometheus-registration/+git/layer-promreg-client

Owned by Colin Watson
Get this repository:
git clone https://git.launchpad.net/~cjwatson/prometheus-registration/+git/layer-promreg-client
Only Colin Watson can upload to this repository. If you are Colin Watson please log in for upload directions.

Branches

Name Last Modified Last Commit
strip-authtoken 2017-03-14 14:04:46 UTC
Strip trailing newlines from promreg_authtoken

Author: Colin Watson
Author Date: 2017-03-14 14:04:46 UTC

Strip trailing newlines from promreg_authtoken

It's convenient to include the key from a secrets directory using
juju-deployer's `include-file:` syntax, but that tends to leave any
trailing newline from the secret file in the configuration, which breaks
with an "Invalid header value" exception in `http.client`. Stripping
the newline here is a bit friendlier.

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers