fix eos-home config (#304)

* fix eos-home config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva to v0.1.1-0.20200626111234-e21c32db9614

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-06-26 15:53:41 +02:00
committed by GitHub
parent c92d1e5785
commit b922f76060
12 changed files with 149 additions and 15 deletions
+10 -1
View File
@@ -265,7 +265,16 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"REVA_STORAGE_HOME_MOUNT_PATH"},
Destination: &cfg.Reva.StorageHome.MountPath,
},
// The home storage has no mount id. In responses it returns the mount id of the actual storage
&cli.StringFlag{
Name: "storage-home-mount-id",
// This is tho mount id of the /oc storage
// set it to 1284d238-aa92-42ce-bdc4-0b0000009158 for /eos
// Value: "1284d238-aa92-42ce-bdc4-0b0000009162", /os
Value: "1284d238-aa92-42ce-bdc4-0b0000009154", // /home
Usage: "mount id",
EnvVars: []string{"REVA_STORAGE_HOME_MOUNT_ID"},
Destination: &cfg.Reva.StorageHome.MountID,
},
&cli.StringFlag{
Name: "storage-eos-url",
+3 -1
View File
@@ -141,7 +141,9 @@ func StorageHomeWithConfig(cfg *config.Config) []cli.Flag {
Name: "mount-id",
// This is tho mount id of the /oc storage
// set it to 1284d238-aa92-42ce-bdc4-0b0000009158 for /eos
Value: "1284d238-aa92-42ce-bdc4-0b0000009162",
// Value: "1284d238-aa92-42ce-bdc4-0b0000009162", /os
Value: "1284d238-aa92-42ce-bdc4-0b0000009154", // /home
Usage: "mount id",
EnvVars: []string{"REVA_STORAGE_HOME_MOUNT_ID"},
Destination: &cfg.Reva.StorageHome.MountID,