michaelsembwever commented on code in PR #2852:
URL: https://github.com/apache/cassandra/pull/2852#discussion_r1537558547


##########
src/java/org/apache/cassandra/utils/FBUtilities.java:
##########
@@ -1429,13 +1436,19 @@ static Semver getKernelVersionFromUname()
     static Semver parseKernelVersion(String versionString)
     {
         Preconditions.checkNotNull(versionString, "kernel version cannot be 
null");
+        // ignore blank lines
         try (Scanner scanner = new Scanner(versionString))
         {
             while (scanner.hasNextLine())
             {
                 String version = scanner.nextLine().trim();
                 if (version.isEmpty())
                     continue;
+
+                if (version.endsWith("+"))
+                        // gcp's cos_containerd has a trailing +
+                        version = StringUtils.chop(version);

Review Comment:
   new approach.  gcp's cos_containerd is now supported. 
   fyi @jacek-lewandowski 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to