projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
closes #11906
[arvados.git]
/
services
/
keepstore
/
config.go
diff --git
a/services/keepstore/config.go
b/services/keepstore/config.go
index 8824db9dc54afd9ea4cf341a98171651084c8ff3..0a3ece41ad9d88589513c30a878f172276afd93c 100644
(file)
--- a/
services/keepstore/config.go
+++ b/
services/keepstore/config.go
@@
-1,3
+1,7
@@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
package main
import (
package main
import (
@@
-36,6
+40,8
@@
type Config struct {
blobSigningKey []byte
systemAuthToken string
debugLogf func(string, ...interface{})
blobSigningKey []byte
systemAuthToken string
debugLogf func(string, ...interface{})
+
+ ManagementToken string
}
var theConfig = DefaultConfig()
}
var theConfig = DefaultConfig()
@@
-70,6
+76,7
@@
func (cfg *Config) Start() error {
switch strings.ToLower(cfg.LogFormat) {
case "text":
log.SetFormatter(&log.TextFormatter{
switch strings.ToLower(cfg.LogFormat) {
case "text":
log.SetFormatter(&log.TextFormatter{
+ FullTimestamp: true,
TimestampFormat: rfc3339NanoFixed,
})
case "json":
TimestampFormat: rfc3339NanoFixed,
})
case "json":