Skip to content

Commit

Permalink
Merge pull request #22 from ddosify/refactor/memory-opt
Browse files Browse the repository at this point in the history
change metrics env var name
  • Loading branch information
fatihbaltaci authored Sep 26, 2023
2 parents 7320c75 + 177ee6b commit 1277b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
}

ebpfEnabled, _ := strconv.ParseBool(os.Getenv("EBPF_ENABLED"))
metricsEnabled, _ := strconv.ParseBool(os.Getenv("METRICS_BACKEND"))
metricsEnabled, _ := strconv.ParseBool(os.Getenv("METRICS_ENABLED"))

// datastore backend
dsBackend := datastore.NewBackendDS(ctx, config.BackendConfig{
Expand Down
2 changes: 1 addition & 1 deletion resources/alaz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
- env:
- name: EBPF_ENABLED
value: "true"
- name: METRICS_BACKEND
- name: METRICS_ENABLED
value: "true"
- name: BACKEND_HOST
value: https://api.ddosify.com:443
Expand Down

0 comments on commit 1277b42

Please sign in to comment.