Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
Fix image name value assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Minoli authored and madhukaw committed Dec 18, 2019
1 parent 4ea244b commit a0cd461
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/cli/pkg/commands/designer/designer.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ func getDependency(nodeId string, meta DesignMeta) (TemplateDependency, error) {
if nodeId == node.Gateway.ID {
dependency := TemplateDependency{
Org: node.Org,
Name: node.Version,
Ver: node.Name,
Name: node.Name,
Ver: node.Version,
Type: constants.CELL,
}
return dependency, nil
Expand All @@ -202,8 +202,8 @@ func getDependency(nodeId string, meta DesignMeta) (TemplateDependency, error) {
if nodeId == component.ID {
dependency := TemplateDependency{
Org: node.Org,
Name: node.Version,
Ver: node.Name,
Name: node.Name,
Ver: node.Version,
Type: constants.COMPOSITE,
}
return dependency, nil
Expand Down

0 comments on commit a0cd461

Please sign in to comment.