-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Template merge functionality #505
Conversation
Refer https://github.com/NetApp/harvest-private/wiki/Template-Merge about the functionality |
addressed review comments |
9797905
to
0841711
Compare
0841711
to
c58def5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love to see all the tests. Nice job!
pkg/tree/node/node.go
Outdated
func fetchRoot(source *Node) *Node { | ||
if source != nil && source.GetParent() != nil && source.GetParent().GetNameS() == "Root" { | ||
return source | ||
func (n *Node) fetchRoot() *Node { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dead code now?
addressed review comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @rahulguptajss 95% tests, 5% code \o/
docs need to be consolidated and updated to reflect this change and how to use it:
|
No description provided.