commit | 9e64f6bc81fe02aff17838c08c721e0a6fe9c703 | [log] [tgz] |
---|---|---|
author | Samuel A. Falvo II <sam.falvo@rackspace.com> | Tue Jul 16 14:26:50 2013 -0700 |
committer | Samuel A. Falvo II <sam.falvo@rackspace.com> | Tue Jul 16 14:26:50 2013 -0700 |
tree | 6df26203a86bac45371407e18759b760f470f7aa | |
parent | 0167aaa6c2ba91af68fe5c023b94bdd320c60d1f [diff] [blame] |
Convert ListImages to use reauth. This commit does not work -- acceptance test 08-... is broken.
diff --git a/context.go b/context.go index 2c70ba5..ebad36c 100644 --- a/context.go +++ b/context.go
@@ -49,6 +49,9 @@ return &Context{ providerMap: make(map[string]Provider), httpClient: &http.Client{}, + reauthHandler: func(acc AccessProvider) error { + return acc.Reauthenticate() + }, } }