[arvados] updated: 2.7.0-5940-g3fb5484fc6

git repository hosting git at public.arvados.org
Mon Jan 29 14:56:35 UTC 2024


Summary of changes:
 lib/install/deps.go | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

       via  3fb5484fc63925e35cd4025f5daf56b372e9897d (commit)
      from  f7267bd766210830f3acd55c5eefe85dc3baa70b (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 3fb5484fc63925e35cd4025f5daf56b372e9897d
Author: Brett Smith <brett.smith at curii.com>
Date:   Mon Jan 29 09:52:59 2024 -0500

    21361: Change variable names to match Go style
    
    Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>

diff --git a/lib/install/deps.go b/lib/install/deps.go
index f4597d8162..9f483b7654 100644
--- a/lib/install/deps.go
+++ b/lib/install/deps.go
@@ -832,21 +832,21 @@ func identifyOS() (osversion, error) {
 	case "debian":
 		osv.Debian = true
 	default:
-		id_like_match := false
-		for _, id_like := range strings.Split(kv["ID_LIKE"], " ") {
-			switch id_like {
+		idLikeMatched := false
+		for _, idLike := range strings.Split(kv["ID_LIKE"], " ") {
+			switch idLike {
 			case "debian":
 				osv.Debian = true
-				id_like_match = true
+				idLikeMatched = true
 			case "rhel":
 				osv.RedHat = true
-				id_like_match = true
+				idLikeMatched = true
 			}
-			if id_like_match {
+			if idLikeMatched {
 				break
 			}
 		}
-		if !id_like_match {
+		if !idLikeMatched {
 			return osv, fmt.Errorf("no supported ID found in /etc/os-release")
 		}
 	}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list