Skip to content

Commit

Permalink
Fixed moree issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingqi Zhu committed Aug 14, 2019
1 parent 862a315 commit d02d3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paasta_tools/kubernetes/application/controller_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def sync_horizontal_pod_autoscaler(self, kube_client: KubeClient) -> None:
min_instnace, max_instance, and instance
"""
self.logging.info(
"Syncing HPA setting for {self.item.metadata.name}/name in {self.item.metadata.namespace}"
f"Syncing HPA setting for {self.item.metadata.name}/name in {self.item.metadata.namespace}"
)
hpa_exists = self.exists_hpa(kube_client)
# NO autoscaling
Expand All @@ -244,7 +244,7 @@ def sync_horizontal_pod_autoscaler(self, kube_client: KubeClient) -> None:
max_replicas = self.get_soa_config().get("max_instances")
if not min_replicas or not max_replicas:
self.logging.error(
"min/max_instances are not specified. Autoscaling is not enabled."
"Please specify min_instances and max_instances for autoscaling to work"
)
return
metrics_provider = (
Expand Down

0 comments on commit d02d3c6

Please sign in to comment.