internal/component: Rework resource paths

This commit is contained in:
Tom Wiesing 2022-09-20 19:20:54 +02:00
parent af259747a2
commit 33cd18e9d9
No known key found for this signature in database
7 changed files with 4 additions and 4 deletions

View file

@ -23,13 +23,13 @@ func (Triplestore) Name() string {
return "triplestore"
}
//go:embed all:stack
//go:embed all:triplestore
var resources embed.FS
func (ts Triplestore) Stack(env environment.Environment) component.StackWithResources {
return ts.ComponentBase.MakeStack(env, component.StackWithResources{
Resources: resources,
ContextPath: "stack",
ContextPath: "triplestore",
CopyContextFiles: []string{"graphdb.zip"}, // TODO: Move into constant?