Skip to content

Commit 872b365

Browse files
committed
fix(ci,agent): unblock v12 build — frontend Node 22 + agent DataType consts
1 parent bcfc386 commit 872b365

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/reusable-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: '14.16.1'
22+
node-version: '22'
2323

2424
- uses: actions/cache@v4
2525
with:

agent/config/const.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ const (
1010
SERVICE_UPDATER_NAME = "UTMStackUpdater"
1111
)
1212

13+
// DataType identifies the log source type reported to the engine.
14+
type DataType string
15+
16+
const (
17+
DataTypeLinuxAgent DataType = "linux"
18+
DataTypeWindowsAgent DataType = "wineventlog"
19+
DataTypeMacOs DataType = "macos"
20+
)
21+
1322
var (
1423
REPLACE_KEY string
1524

0 commit comments

Comments
 (0)