File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,11 @@ github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqx
109
109
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY =
110
110
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd /go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM =
111
111
github.com/kisielk/gotool v1.0.0 /go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck =
112
+ github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI =
112
113
github.com/kr/pretty v0.1.0 /go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo =
113
114
github.com/kr/pty v1.1.1 /go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ =
114
115
github.com/kr/pty v1.1.8 /go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw =
116
+ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE =
115
117
github.com/kr/text v0.1.0 /go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI =
116
118
github.com/mattn/go-colorable v0.0.9 /go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU =
117
119
github.com/mattn/go-isatty v0.0.3 /go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4 =
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ func (app *App) Start() (final error) {
107
107
zap .Error (e ))
108
108
109
109
case <- renew .C :
110
- s , e := app .vault .Auth ().Token ().RenewSelf (604800 )
110
+ s , e := app .vault .Auth ().Token ().RenewSelf (0 )
111
111
if e != nil {
112
112
zap .L ().Error ("failed to renew vault token" ,
113
113
zap .Error (e ))
You can’t perform that action at this time.
0 commit comments