Skip to content

Commit 252a244

Browse files
committed
Allow gophercloud to reauth when api token expires
1 parent 494bbfc commit 252a244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ func main() {
124124
if err != nil {
125125
logrus.Fatal(err)
126126
}
127+
authOpts.AllowReauth = true
127128

128129
d, err := NewDriver(authOpts, region, defaultSize, volumePrefix)
129130
if err != nil {

0 commit comments

Comments
 (0)