[ARVADOS] updated: 2.1.0-214-ge43bfac54

Git user git at public.arvados.org
Sat Dec 12 20:10:13 UTC 2020


Summary of changes:
 lib/cloud/ec2/ec2.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

       via  e43bfac54f9b807cfbb01e758fdab7a5d15a83a7 (commit)
      from  6f27bbc6e8797f5faeeb110fa7702900a09813e9 (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 e43bfac54f9b807cfbb01e758fdab7a5d15a83a7
Author: Ward Vandewege <ward at curii.com>
Date:   Sat Dec 12 15:09:48 2020 -0500

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

diff --git a/lib/cloud/ec2/ec2.go b/lib/cloud/ec2/ec2.go
index 29062c491..b20dbfcc9 100644
--- a/lib/cloud/ec2/ec2.go
+++ b/lib/cloud/ec2/ec2.go
@@ -103,10 +103,10 @@ func awsKeyFingerprint(pk ssh.PublicKey) (md5fp string, sha1fp string, err error
 	sha1pkix := sha1.Sum([]byte(pkix))
 	md5fp = ""
 	sha1fp = ""
-	for i := 0; i < len(md5pkix); i += 1 {
+	for i := 0; i < len(md5pkix); i++ {
 		md5fp += fmt.Sprintf(":%02x", md5pkix[i])
 	}
-	for i := 0; i < len(sha1pkix); i += 1 {
+	for i := 0; i < len(sha1pkix); i++ {
 		sha1fp += fmt.Sprintf(":%02x", sha1pkix[i])
 	}
 	return md5fp[1:], sha1fp[1:], nil
@@ -251,7 +251,7 @@ func (instanceSet *ec2InstanceSet) Instances(tags cloud.InstanceTags) (instances
 	}
 }
 
-func (az *ec2InstanceSet) Stop() {
+func (instanceSet *ec2InstanceSet) Stop() {
 }
 
 type ec2Instance struct {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list