Skip to content

Commit

Permalink
chore: ignore config_id in push topology
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored and moshloop committed Sep 25, 2024
1 parent 10195ec commit 79906c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions push/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ func PushTopology(c echo.Context) error {
for _, c := range data.Components.Walk() {
c.AgentID = agentID
c.TopologyID = &topologyObj.ID
// ConfigID will not be present in host and will cause FK Error
c.ConfigID = nil
}

returnedIDs, err := dutytopology.SaveComponent(ctx, &data)
Expand Down

0 comments on commit 79906c4

Please sign in to comment.