Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created September 12, 2012 22:54
$ git diff
diff --git a/bin/swift-dispersion-report b/bin/swift-dispersion-report
index 4ff4468..e7979a1 100755
--- a/bin/swift-dispersion-report
+++ b/bin/swift-dispersion-report
@@ -319,7 +319,8 @@ Usage: %prog [options] [conf_file]
connpool.create = lambda: Connection(conf['auth_url'],
conf['auth_user'], conf['auth_key'],
retries=retries,
- preauthurl=url, preauthtoken=token)
+ preauthurl=url, preauthtoken=token,
+ auth_version=conf.get('auth_version', '1.0'))
container_ring = Ring(swift_dir, ring_name='container')
object_ring = Ring(swift_dir, ring_name='object')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment