File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ import (
66)
77
88type ClientEnv struct {
9- AppName string `json:"appName"`
10- AppPort int64 `json:"appPort"`
11- SidecarApi string `json:"sidecarApi"`
9+ AppName string `json:"appName"`
10+ AppPort int64 `json:"appPort"`
11+ SidecarApi string `json:"sidecarApi"`
12+ CatalogId string `json:"catalogId"`
13+ FileStorePath string `json:"s3FilesBucket"`
1214}
1315
1416func initClientEnv () (ClientEnv , error ) {
@@ -36,9 +38,14 @@ func initClientEnv() (ClientEnv, error) {
3638 sidecarApi = "http://localhost:9999"
3739 }
3840
41+ catalogId := os .Getenv ("polycode_CATALOG_ID" )
42+ fileStorePath := os .Getenv ("polycode_FILE_STORE_PATH" )
43+
3944 return ClientEnv {
40- AppName : appName ,
41- AppPort : int64 (appPort ),
42- SidecarApi : sidecarApi ,
45+ AppName : appName ,
46+ AppPort : int64 (appPort ),
47+ SidecarApi : sidecarApi ,
48+ CatalogId : catalogId ,
49+ FileStorePath : fileStorePath ,
4350 }, nil
4451}
You can’t perform that action at this time.
0 commit comments