projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
20318: Sync cache state after 1% churn instead of 5 minute timer.
[arvados.git]
/
sdk
/
go
/
auth
/
salt.go
diff --git
a/sdk/go/auth/salt.go
b/sdk/go/auth/salt.go
index 667a30f5ef669ac50c06e0756c4a30ecbde3e025..214021598641a057aafbfa15c0f74f5720878d00 100644
(file)
--- a/
sdk/go/auth/salt.go
+++ b/
sdk/go/auth/salt.go
@@
-26,9
+26,8
@@
func SaltToken(token, remote string) (string, error) {
if len(parts) < 3 || parts[0] != "v2" {
if reObsoleteToken.MatchString(token) {
return "", ErrObsoleteToken
- } else {
- return "", ErrTokenFormat
}
+ return "", ErrTokenFormat
}
uuid := parts[1]
secret := parts[2]