Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38356d3

Browse files
committed
fix(healthcheck): disable global_api_key check
The core still needs some changes before we can enable this, as currently the global api key is still auto-set in some bits. TODO: Fix this in 1.12.0.dev
1 parent f2c2af7 commit 38356d3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/octoprint/plugins/health_check/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,16 @@ def initialize(self):
3838

3939
def _initialize_checks(self):
4040
from .checks.filesystem_storage import FilesystemStorageCheck
41-
from .checks.global_api_key import GlobalApiKeyCheck
41+
42+
# from .checks.global_api_key import GlobalApiKeyCheck # TODO: re-enable in 1.12.0.dev
4243
from .checks.octoprint_freshness import OctoPrintFreshnessCheck
4344
from .checks.python_eol import PythonEolHealthCheck
4445

4546
for clz in (
4647
OctoPrintFreshnessCheck,
4748
PythonEolHealthCheck,
4849
FilesystemStorageCheck,
49-
GlobalApiKeyCheck,
50+
# GlobalApiKeyCheck, # TODO: re-enable in 1.12.0.dev
5051
):
5152
if clz.key in self.disabled_checks:
5253
continue

0 commit comments

Comments
 (0)