Skip to content

Commit

Permalink
fix: Add suppression to disable insecure warning output (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeacom authored May 4, 2023
1 parent dc76b67 commit c10ddba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eksupgrade/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import Optional

import typer
import urllib3
from rich.console import Console
from rich.table import Table

Expand All @@ -16,6 +17,8 @@
from .src.k8s_client import cluster_auto_enable_disable, is_cluster_auto_scaler_present
from .starter import StatsWorker, actual_update

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

logger = get_logger(__name__)
app = typer.Typer(help="Automated Amazon EKS cluster upgrade CLI utility")
console = Console()
Expand Down

0 comments on commit c10ddba

Please sign in to comment.