From 4c684d03eb630c2eb158598d22816d061860964d Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 24 Oct 2024 19:04:11 -0400 Subject: [PATCH] Delete references to never-constructed UpdateRejected event --- internal/internal_event_handlers.go | 3 --- internal/internal_task_handlers.go | 1 - 2 files changed, 4 deletions(-) diff --git a/internal/internal_event_handlers.go b/internal/internal_event_handlers.go index 82a9785be..99b041ec3 100644 --- a/internal/internal_event_handlers.go +++ b/internal/internal_event_handlers.go @@ -1319,9 +1319,6 @@ func (weh *workflowExecutionEventHandlerImpl) ProcessEvent( case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED: // No Operation - case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED: - // No Operation - case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED: // No Operation diff --git a/internal/internal_task_handlers.go b/internal/internal_task_handlers.go index 831258776..f9456ccf3 100644 --- a/internal/internal_task_handlers.go +++ b/internal/internal_task_handlers.go @@ -341,7 +341,6 @@ func isCommandEvent(eventType enumspb.EventType) bool { enumspb.EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED, enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED, enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED, - enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED, enumspb.EVENT_TYPE_NEXUS_OPERATION_SCHEDULED, enumspb.EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED: return true