Skip to content

Commit ccaf801

Browse files
committed
fixed defaults file copying
1 parent 743d3bf commit ccaf801

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG TARGETARCH
1313

1414
WORKDIR /app
1515

16-
COPY ./config .
16+
COPY ./config ./config/
1717

1818
COPY dist/${TARGETOS}/${TARGETARCH}/app .
1919

utils/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func GetJson[T any](jsonStr string) (T) {
8989
err := json.Unmarshal([]byte(jsonStr), &result)
9090

9191
if err != nil {
92-
// JSON is empty
92+
// YML is empty
9393
}
9494

9595
return result
@@ -109,7 +109,7 @@ func GetYml[T any](ymlStr string) (T) {
109109
err := yaml.Unmarshal([]byte(ymlStr), &result)
110110

111111
if err != nil {
112-
// JSON is empty
112+
// YML is empty
113113
}
114114

115115
return result

0 commit comments

Comments
 (0)