mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 12:04:14 +00:00
Add resource column to hc and remove —
This commit is contained in:
@@ -228,7 +228,7 @@ export async function createTarget(
|
||||
healthCheck = await db
|
||||
.insert(targetHealthCheck)
|
||||
.values({
|
||||
name: `${targetData.ip}:${targetData.port}`,
|
||||
orgId: resource.orgId,
|
||||
targetId: newTarget[0].targetId,
|
||||
hcEnabled: targetData.hcEnabled ?? false,
|
||||
hcPath: targetData.hcPath ?? null,
|
||||
|
||||
Reference in New Issue
Block a user