Skip to content

Commit

Permalink
change colon to guacIDSplit
Browse files Browse the repository at this point in the history
Signed-off-by: pxp928 <parth.psu@gmail.com>
  • Loading branch information
pxp928 authored and nathannaveen committed Jul 2, 2024
1 parent 3ae1e9f commit 85e8c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/assembler/backends/ent/backend/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ func (b *EntBackend) getPkgNameSpace(ctx context.Context, nodeID string) (*model
Type: pn[0].Type,
Namespaces: []*model.PackageNamespace{
{
ID: pkgNamespaceGlobalID(strings.Join([]string{pn[0].Type, pn[0].Namespace}, ":")),
ID: pkgNamespaceGlobalID(strings.Join([]string{pn[0].Type, pn[0].Namespace}, guacIDSplit)),
Namespace: pn[0].Namespace,
Names: []*model.PackageName{},
},
Expand Down Expand Up @@ -580,7 +580,7 @@ func (b *EntBackend) packageNamespaceNeighbors(ctx context.Context, nodeID strin
Type: foundPkgName.Type,
Namespaces: []*model.PackageNamespace{
{
ID: pkgNamespaceGlobalID(strings.Join([]string{foundPkgName.Type, foundPkgName.Namespace}, ":")),
ID: pkgNamespaceGlobalID(strings.Join([]string{foundPkgName.Type, foundPkgName.Namespace}, guacIDSplit)),
Namespace: foundPkgName.Namespace,
Names: []*model.PackageName{{
ID: pkgNameGlobalID(foundPkgName.ID.String()),
Expand Down

0 comments on commit 85e8c68

Please sign in to comment.