mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
update cf to v0.0.13 to support secret suppression (#85)
This commit is contained in:
parent
56a0b255af
commit
225e00861b
@ -31,7 +31,7 @@ type EmailConfig struct {
|
||||
Host string
|
||||
Port int
|
||||
Username string
|
||||
Password string
|
||||
Password string `cf:"+secret"`
|
||||
}
|
||||
|
||||
type RegistrationConfig struct {
|
||||
@ -42,7 +42,7 @@ type RegistrationConfig struct {
|
||||
type ZitiConfig struct {
|
||||
ApiEndpoint string
|
||||
Username string
|
||||
Password string
|
||||
Password string `cf:"+secret"`
|
||||
}
|
||||
|
||||
type MetricsConfig struct {
|
||||
@ -53,7 +53,7 @@ type InfluxConfig struct {
|
||||
Url string
|
||||
Bucket string
|
||||
Org string
|
||||
Token string
|
||||
Token string `cf:"+secret"`
|
||||
}
|
||||
|
||||
func LoadConfig(path string) (*Config, error) {
|
||||
|
@ -21,7 +21,7 @@ type Model struct {
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Path string
|
||||
Path string `cf:"+secret"`
|
||||
Type string
|
||||
}
|
||||
|
||||
|
2
go.mod
2
go.mod
@ -19,7 +19,7 @@ require (
|
||||
github.com/jmoiron/sqlx v1.3.5
|
||||
github.com/lib/pq v1.10.0
|
||||
github.com/mattn/go-sqlite3 v1.14.14
|
||||
github.com/michaelquigley/cf v0.0.12
|
||||
github.com/michaelquigley/cf v0.0.13
|
||||
github.com/michaelquigley/pfxlog v0.6.9
|
||||
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d
|
||||
github.com/opentracing/opentracing-go v1.2.0
|
||||
|
4
go.sum
4
go.sum
@ -372,8 +372,8 @@ github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4
|
||||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
|
||||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI=
|
||||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
|
||||
github.com/michaelquigley/cf v0.0.12 h1:DEGncGj4gikWMSkpnAD5h7l472hjGgnaGYnT2zAS1V8=
|
||||
github.com/michaelquigley/cf v0.0.12/go.mod h1:yzQJzoNRfeyB4pr5lxia1dtoS/7X96IoM5uZEIW6nzo=
|
||||
github.com/michaelquigley/cf v0.0.13 h1:UqBdXNiuWXmOG+gkTCfnuUqX/RAvFAyc7Kh/oAf3Uws=
|
||||
github.com/michaelquigley/cf v0.0.13/go.mod h1:yzQJzoNRfeyB4pr5lxia1dtoS/7X96IoM5uZEIW6nzo=
|
||||
github.com/michaelquigley/pfxlog v0.6.9 h1:K/weH6ARu58aEDQi0ccinItvV958CeO6Ri4jqeFwd/w=
|
||||
github.com/michaelquigley/pfxlog v0.6.9/go.mod h1:D2vg1tPyPdSXWWkSnGk6Fomwh5b3clwVJDUh71tq8Sk=
|
||||
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
||||
|
Loading…
Reference in New Issue
Block a user