Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asafambar committed Jan 2, 2024
1 parent 331c91d commit 574ce1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xray/services/utils/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ type OtherComponentIds struct {

// Audit Graph Node
type GraphNode struct {
Id string `json:"component_id,omitempty"`
// List of subcomponents.
Nodes []*GraphNode `json:"nodes,omitempty"`
// Node parent (for internal use)
Parent *GraphNode `json:"-"`
// Node file types (tar, jar, zip, pom)
Types []string `json:"-"`
Types *[]string `json:"-"`
Id string `json:"component_id,omitempty"`
// List of subcomponents.
Nodes []*GraphNode `json:"nodes,omitempty"`
}

func (currNode *GraphNode) NodeHasLoop() bool {
Expand Down

0 comments on commit 574ce1a

Please sign in to comment.