Skip to content

Commit

Permalink
Java code
Browse files Browse the repository at this point in the history
  • Loading branch information
juliogonzalez committed Nov 20, 2024
1 parent 7a3e81d commit 49a0a5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/code/src/com/redhat/rhn/domain/server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -2507,6 +2507,9 @@ boolean isLeap() {
boolean isLeap15() {
return ServerConstants.LEAP.equalsIgnoreCase(getOs()) && getRelease().startsWith("15");
}
boolean isLeap16() {
return ServerConstants.LEAP.equalsIgnoreCase(getOs()) && getRelease().startsWith("16");
}

/**
* @return true if the installer type is of openSUSE Leap Micro
Expand Down
1 change: 1 addition & 0 deletions java/spacewalk-java.changes.juliogonzalez.leap16.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add product identification for openSUSE Leap 16.0 (Alpha)

0 comments on commit 49a0a5d

Please sign in to comment.