Skip to content

Commit cea3367

Browse files
committed
default to jammy if not there
1 parent 1d1a188 commit cea3367

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ const installCriDocker = () => __awaiter(void 0, void 0, void 0, function* () {
320320
yield (0, exec_1.exec)('lsb_release', ['--short', '--codename'], options);
321321
codename = codename.trim();
322322
// Check if the codename is one of the expected values
323-
// because Cri-dockerd doesnt support "noble" yet
323+
// because Cri-dockerd doesnt support "noble" yet, we will default to "jammy"
324324
if (!['bionic', 'focal', 'jammy'].includes(codename)) {
325325
codename = 'jammy';
326326
}

src/none-driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const installCriDocker = async (): Promise<void> => {
3333
codename = codename.trim()
3434

3535
// Check if the codename is one of the expected values
36-
// because Cri-dockerd doesnt support "noble" yet
36+
// because Cri-dockerd doesnt support "noble" yet, we will default to "jammy"
3737
if (!['bionic', 'focal', 'jammy'].includes(codename)) {
3838
codename = 'jammy'
3939
}

0 commit comments

Comments
 (0)