Skip to content

Commit

Permalink
switch GIN to release mode
Browse files Browse the repository at this point in the history
Signed-off-by: gatici <gulsum.atici@canonical.com>
  • Loading branch information
gatici committed Dec 12, 2024
1 parent 18b06aa commit a4d3404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def _environment_variables(self) -> dict:
"GRPC_VERBOSITY": "debug",
"POD_IP": _get_pod_ip(),
"MANAGED_BY_CONFIG_POD": "true",
"GIN_MODE": "release",
}


Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_charm_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def test_given_given_workload_ready_when_configure_then_pebble_plan_is_applied(
"GRPC_VERBOSITY": "debug",
"POD_IP": "1.1.1.1",
"MANAGED_BY_CONFIG_POD": "true",
"GIN_MODE": "release",
},
}
},
Expand Down

0 comments on commit a4d3404

Please sign in to comment.