[ARVADOS] updated: 2.1.0-230-g92086abf6

Git user git at public.arvados.org
Fri Dec 18 22:56:07 UTC 2020


Summary of changes:
 lib/service/cmd.go | 2 --
 lib/service/tls.go | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

       via  92086abf6fd3425b5c98e32a5d009734e7210fc9 (commit)
      from  8d6a62282e3026d70e25f824116e6d05838e6258 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 92086abf6fd3425b5c98e32a5d009734e7210fc9
Author: Ward Vandewege <ward at curii.com>
Date:   Fri Dec 18 17:55:50 2020 -0500

    Fix a few more golint warnings.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/lib/service/cmd.go b/lib/service/cmd.go
index a81cf5052..9ca243125 100644
--- a/lib/service/cmd.go
+++ b/lib/service/cmd.go
@@ -165,8 +165,6 @@ func (c *command) RunCommand(prog string, args []string, stdin io.Reader, stdout
 	return 0
 }
 
-const rfc3339NanoFixed = "2006-01-02T15:04:05.000000000Z07:00"
-
 func getListenAddr(svcs arvados.Services, prog arvados.ServiceName, log logrus.FieldLogger) (arvados.URL, error) {
 	svc, ok := svcs.Map()[prog]
 	if !ok {
diff --git a/lib/service/tls.go b/lib/service/tls.go
index db3c567ee..c6307b76a 100644
--- a/lib/service/tls.go
+++ b/lib/service/tls.go
@@ -23,7 +23,7 @@ func tlsConfigWithCertUpdater(cluster *arvados.Cluster, logger logrus.FieldLogge
 
 	key, cert := cluster.TLS.Key, cluster.TLS.Certificate
 	if !strings.HasPrefix(key, "file://") || !strings.HasPrefix(cert, "file://") {
-		return nil, errors.New("cannot use TLS certificate: TLS.Key and TLS.Certificate must be specified as file://...")
+		return nil, errors.New("cannot use TLS certificate: TLS.Key and TLS.Certificate must be specified with a 'file://' prefix")
 	}
 	key, cert = key[7:], cert[7:]
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list