Skip to content
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

Agent sotre path feature #90

Closed
wants to merge 7 commits into from
Closed

Conversation

qiuyesuifeng
Copy link
Contributor

No description provided.

@@ -202,6 +206,10 @@ func (p *process) baseLogDir() string {
return path.Join(logDir, fmt.Sprintf("%s_%s", p.Type, p.ID))
}

func (p *process) storeDataDir(addr string) string {
return path.Join(dataDir, fmt.Sprintf("%s_%s", p.Type, addr))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming addr here is not proper, maybe, because some processes have no listening address.

we can think another name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, any naming suggestion?

@qiuyesuifeng
Copy link
Contributor Author

close it, i will add a new branch to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants