Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit f58e5c7

Browse files
author
kthcloud
committed
[🚚 CI] Generate build from main
1 parent ffc1ab1 commit f58e5c7

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It does this by fetching information from every host
99
## 📚 Docs
1010
This API is documented using Swagger.
1111

12-
You can view the publically hosted documentation [here](https://api.cloud.cbh.kth.se/landing/v2/docs/index.html).
12+
You can view the publically hosted documentation [here](https://api.cloud.cbh.kth.se/sys/v2/docs/index.html).
1313

1414
## 🤝 Contributing
1515

export/tygo.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
packages:
2+
- path: sys-api/dto/body
3+
output_path: types/body
4+
type_mappings:
5+
time.Time: "string"
6+
- path: sys-api/dto/query
7+
output_path: types/query
8+
type_mappings:
9+
time.Time: "string"
10+
# - path: sys-api/dto/uri
11+
# output_path: types/uri
12+
# type_mappings:
13+
# time.Time: "string"

pkg/config/config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ func Setup() error {
1515
return fmt.Errorf("failed to setup environment. details: %s", err)
1616
}
1717

18-
filepath, found := os.LookupEnv("LANDING_CONFIG_FILE")
18+
filepath, found := os.LookupEnv("SYS_API_CONFIG_FILE")
1919
if !found {
20-
return makeError(fmt.Errorf("config file not found. please set LANDING_CONFIG_FILE environment variable"))
20+
return makeError(fmt.Errorf("config file not found. please set SYS_API_CONFIG_FILE environment variable"))
2121
}
2222

2323
yamlFile, err := os.ReadFile(filepath)

0 commit comments

Comments
 (0)