From a3e6d7dbe7a56296674a66cee2682576a69e1b41 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Wed, 11 Jan 2023 11:18:06 +0300 Subject: [PATCH] Linter fixes Signed-off-by: Alex Andreev --- .../horizontal-pod-autoscaler.api.ts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/common/k8s-api/endpoints/horizontal-pod-autoscaler.api.ts b/src/common/k8s-api/endpoints/horizontal-pod-autoscaler.api.ts index 28d566b8e4..038bf5f39c 100644 --- a/src/common/k8s-api/endpoints/horizontal-pod-autoscaler.api.ts +++ b/src/common/k8s-api/endpoints/horizontal-pod-autoscaler.api.ts @@ -72,26 +72,26 @@ export type HorizontalPodAutoscalerMetricSpec = | OptionVarient | OptionVarient; -type HorizontalPodAutoscalerBehavior = { - scaleUp?: HPAScalingRules, - scaleDown?: HPAScalingRules, +interface HorizontalPodAutoscalerBehavior { + scaleUp?: HPAScalingRules; + scaleDown?: HPAScalingRules; } -type HPAScalingRules = { - stabilizationWindowSecond?: number, - selectPolicy?: ScalingPolicySelect, - policies?: HPAScalingPolicy[], +interface HPAScalingRules { + stabilizationWindowSecond?: number; + selectPolicy?: ScalingPolicySelect; + policies?: HPAScalingPolicy[]; } -type ScalingPolicySelect = string +type ScalingPolicySelect = string; -type HPAScalingPolicy = { - type: HPAScalingPolicyType, - value: number, - periodSeconds: number +interface HPAScalingPolicy { + type: HPAScalingPolicyType; + value: number; + periodSeconds: number; } -type HPAScalingPolicyType = string +type HPAScalingPolicyType = string; export interface ContainerResourceMetricStatus { container: string;