Skip to content

Commit

Permalink
Add types
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmithv11 committed Dec 16, 2024
1 parent 1eeefb7 commit b7d99e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self) -> None:
supported_resources=supported_resources,
)

def scan_resource_conf(self, conf):
def scan_resource_conf(self, conf) -> CheckResult:
if self.entity_type == "azurerm_kubernetes_cluster":
if conf.get('default_node_pool'):
node_pool = conf['default_node_pool'][0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_inspected_key(self) -> str:
else:
return "site_config/[0]/minimum_tls_version"

def get_expected_value(self) -> Any:
def get_expected_value(self) -> float:
return 1.2

def get_expected_values(self) -> List[Any]:
Expand Down

0 comments on commit b7d99e7

Please sign in to comment.