-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
kind/bugBugBuglifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.priority/3Priority (lower number equals higher priority)Priority (lower number equals higher priority)
Description
What happened:
docforge/pkg/manifest/manifest.go
Lines 138 to 146 in 833eb10
| switch parent.Type { | |
| case "dir": | |
| node.Path = path.Join(parent.Path, parent.Dir) | |
| case "manifest": | |
| node.Path = parent.Path | |
| default: | |
| return fmt.Errorf("parent node \n\n%s\n is not a dir or manifest", node) | |
| } | |
| return nil |
What you expected to happen:
node.Path to include node.Name
In other words
Lines 50 to 52 in bf7a08d
| func (n *Node) NodePath() string { | |
| return path.Join(n.Path, n.Name()) | |
| } |
to become
func (n *Node) NodePath() string {
return n.Path
}How to categorize this issue?
/kind bug
/priority 3
Metadata
Metadata
Assignees
Labels
kind/bugBugBuglifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.priority/3Priority (lower number equals higher priority)Priority (lower number equals higher priority)