fix: invetory path in demo project

This commit is contained in:
Denis Gukov 2024-01-27 20:37:22 +05:00
parent 4e2ca7745b
commit 981ab6bc51

View File

@ -99,7 +99,7 @@ func createDemoProject(projectID int, store db.Store) (err error) {
devInv, err = store.CreateInventory(db.Inventory{
Name: "Dev",
ProjectID: projectID,
Inventory: "/invs/dev/hosts",
Inventory: "invs/dev/hosts",
Type: "file",
SSHKeyID: &noneKey.ID,
})
@ -111,7 +111,7 @@ func createDemoProject(projectID int, store db.Store) (err error) {
prodInv, err = store.CreateInventory(db.Inventory{
Name: "Prod",
ProjectID: projectID,
Inventory: "/invs/prod/hosts",
Inventory: "invs/prod/hosts",
Type: "file",
SSHKeyID: &noneKey.ID,
})