Skip to content

Commit

Permalink
fix(devops): component schema name return imply_type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrh997 committed Jan 15, 2025
1 parent 089d846 commit e286a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devops/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require (
github.com/gorilla/mux v1.8.1
github.com/stretchr/testify v1.9.0
go.uber.org/mock v0.4.0
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
)

require (
Expand Down Expand Up @@ -46,7 +47,6 @@ require (
github.com/yargevad/filepathx v1.0.0 // indirect
golang.org/x/arch v0.8.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
golang.org/x/sys v0.28.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion devops/internal/model/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (gi GraphInfo) buildGraphNodes() (nodes []*devmodel.Node, err error) {
}

if implType, ok := components.GetType(node.Instance); ok {
fdlNode.ComponentSchema.Identifier = implType
fdlNode.ComponentSchema.Name = implType
}

nodes = append(nodes, fdlNode)
Expand Down

0 comments on commit e286a73

Please sign in to comment.