8936: update comment on keepstore and go fmt
authorradhika <radhika@curoverse.com>
Thu, 21 Apr 2016 13:52:50 +0000 (09:52 -0400)
committerradhika <radhika@curoverse.com>
Thu, 21 Apr 2016 13:52:50 +0000 (09:52 -0400)
sdk/go/keepclient/perms_test.go
services/keepstore/keepstore.go

index a566e0e4301fe5943e09f2b572abd69863aba55b..8670f2b01a3ce3491f2709231eb1ed0e8c2553a4 100644 (file)
@@ -20,7 +20,7 @@ const (
        knownTimestamp     = "7fffffff"
        knownSigHint       = "+A" + knownSignature + "@" + knownTimestamp
        knownSignedLocator = knownLocator + knownSigHint
-       blobSignatureTTL     = time.Second
+       blobSignatureTTL   = time.Second
 )
 
 func TestSignLocator(t *testing.T) {
index cf15dffd368925ce68a3d5f69350c388306d87d0..b3cc234539e44ce4461233dca8cbce0e4ed3a528 100644 (file)
@@ -189,8 +189,7 @@ func main() {
                &permissionTTLSec,
                "blob-signature-ttl",
                int(time.Duration(2*7*24*time.Hour).Seconds()),
-               "Lifetime of blob permission signatures. This will become a part of the signing key, "+
-                       "and will cause clients to retry or fail if changed while they are in progress. "+
+               "Lifetime of blob permission signatures. Modifying the ttl will invalidate all existing signatures"+
                        "See services/api/config/application.default.yml.")
        flag.BoolVar(
                &flagSerializeIO,