component: Automatically determine names
This commit is contained in:
parent
10df1c3243
commit
e320bb37bb
31 changed files with 84 additions and 113 deletions
|
|
@ -19,12 +19,8 @@ type Triplestore struct {
|
|||
PollInterval time.Duration // duration to wait for during wait
|
||||
}
|
||||
|
||||
func (Triplestore) Name() string {
|
||||
return "triplestore"
|
||||
}
|
||||
|
||||
func (ts Triplestore) Path() string {
|
||||
return filepath.Join(ts.Core.Config.DeployRoot, "core", ts.Name())
|
||||
func (ts *Triplestore) Path() string {
|
||||
return filepath.Join(ts.Still.Config.DeployRoot, "core", "triplestore")
|
||||
}
|
||||
|
||||
func (Triplestore) Context(parent component.InstallationContext) component.InstallationContext {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue