Skip to content

Commit bf9ede9

Browse files
authored
Merge branch 'main' into backendCaching
2 parents 5511c30 + 865fd9b commit bf9ede9

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
ARG BUILD_TAGS=""
88

99
# Step 1: Modules caching
10-
FROM golang:1.25.6-alpine@sha256:660f0b83cf50091e3777e4730ccc0e63e83fea2c420c872af5c60cb357dcafb2 AS modules
10+
FROM golang:1.25.6-alpine@sha256:98e6cffc31ccc44c7c15d83df1d69891efee8115a5bb7ede2bf30a38af3e3c92 AS modules
1111
COPY go.mod go.sum /modules/
1212
WORKDIR /modules
1313
RUN apk add --no-cache git
1414
RUN go mod download
1515

1616
# Step 2: Builder
17-
FROM golang:1.25.6-alpine@sha256:660f0b83cf50091e3777e4730ccc0e63e83fea2c420c872af5c60cb357dcafb2 AS builder
17+
FROM golang:1.25.6-alpine@sha256:98e6cffc31ccc44c7c15d83df1d69891efee8115a5bb7ede2bf30a38af3e3c92 AS builder
1818
# Build tags control dependencies:
1919
# - Default (no tags): Full build with UI
2020
# - noui: Excludes web UI assets

internal/usecase/devices/power.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ func (uc *UseCase) getBootSource(guid string, bootSetting *dto.BootSetting) stri
493493
switch bootSetting.Action {
494494
case BootActionResetToPXE, BootActionPowerOnToPXE:
495495
return string(cimBoot.PXE)
496-
case BootActionResetToIDERCDROM, BootActionPowerOnIDERCDROM:
497-
return string(cimBoot.CD)
496+
case BootActionResetToIDERCDROM, BootActionPowerOnIDERCDROM, BootActionResetToIDERFloppy:
497+
return ""
498498
case BootActionHTTPSBoot, BootActionPowerOnHTTPSBoot:
499499
return string(cimBoot.OCRUEFIHTTPS)
500500
case BootActionPBA, BootActionPowerOnPBA:

internal/usecase/devices/power_private_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ func TestGetBootSource(t *testing.T) {
106106
},
107107
},
108108
{
109-
name: "Action 202",
110-
res: string(cimBoot.CD),
109+
name: "Action 202 - IDER CDROM",
110+
res: "",
111111
bootSettings: dto.BootSetting{
112112
Action: 202,
113113
},

0 commit comments

Comments
 (0)