mirror of https://github.com/hashicorp/consul
Show latest config in /v1/agent/self (#18714)
* Show latest config in /v1/agent/self * remove license string in backportpull/18761/head
parent
f858e06881
commit
0a2344a944
@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
api: Fix `/v1/agent/self` not returning latest configuration
|
||||||
|
```
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
readonly PACKAGE_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
cd $PACKAGE_DIR
|
||||||
|
|
||||||
|
# Uses: https://github.com/globusdigital/deep-copy
|
||||||
|
deep-copy \
|
||||||
|
-pointer-receiver \
|
||||||
|
-o ./config.deepcopy.go \
|
||||||
|
-type RuntimeConfig \
|
||||||
|
./
|
Loading…
Reference in new issue