Skip to content
Snippets Groups Projects
Commit 738321e0 authored by aliiohs's avatar aliiohs
Browse files

init ConsumerUrl when build BaseDirectory

parent 70345207
No related branches found
No related tags found
No related merge requests found
......@@ -41,8 +41,9 @@ type BaseDirectory struct {
func NewBaseDirectory(url *common.URL) BaseDirectory {
return BaseDirectory{
url: url,
destroyed: atomic.NewBool(false),
url: url,
ConsumerUrl: url,
destroyed: atomic.NewBool(false),
}
}
func (dir *BaseDirectory) Destroyed() bool {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment