Skip to content

Commit

Permalink
Fix the Show Down text (apache#44292)
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheffl authored Nov 23, 2024
1 parent 32f064f commit e5de550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/edge/cli/edge_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __init__(

@staticmethod
def signal_handler(sig, frame):
logger.info("Request to show down Edge Worker received, waiting for jobs to complete.")
logger.info("Request to shut down Edge Worker received, waiting for jobs to complete.")
_EdgeWorkerCli.drain = True

def shutdown_handler(self, sig, frame):
Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/edge/models/edge_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class EdgeWorkerState(str, Enum):
TERMINATING = "terminating"
"""Edge Worker is completing work and stopping."""
OFFLINE = "offline"
"""Edge Worker was show down."""
"""Edge Worker was shut down."""
UNKNOWN = "unknown"
"""No heartbeat signal from worker for some time, Edge Worker probably down."""

Expand Down

0 comments on commit e5de550

Please sign in to comment.