From 19e1ce211bc2851f5329a9c22b9584c227c73c96 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 1 Oct 2024 17:47:09 +0530 Subject: [PATCH] Fix imports --- stack_orchestrator/deploy/webapp/request_webapp_deployment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack_orchestrator/deploy/webapp/request_webapp_deployment.py b/stack_orchestrator/deploy/webapp/request_webapp_deployment.py index dd6e9273..88ab4f6f 100644 --- a/stack_orchestrator/deploy/webapp/request_webapp_deployment.py +++ b/stack_orchestrator/deploy/webapp/request_webapp_deployment.py @@ -24,8 +24,8 @@ import requests import yaml from stack_orchestrator.deploy.webapp.util import ( - AUCTION_STATUS_COMPLETED, AUCTION_KIND_PROVIDER, + AuctionStatus, LaconicRegistryClient, ) from dotenv import dotenv_values @@ -117,7 +117,7 @@ def command( # noqa: C901 fatal(f"Auction kind needs to be ${AUCTION_KIND_PROVIDER}, got {auction.kind}") # Check auction status - if auction.status != AUCTION_STATUS_COMPLETED: + if auction.status != AuctionStatus.COMPLETED: fatal(f"Auction {auction_id} not completed yet, status {auction.status}") # Check that winner list is not empty