Skip to content

Commit

Permalink
chore (gofumpt): lint project
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <[email protected]>
  • Loading branch information
mikeee committed Nov 14, 2023
1 parent 9cdc20c commit c0d0800
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func (c *GRPCClient) StartWorkflowAlpha1(ctx context.Context, req *StartWorkflow
func (c *GRPCClient) GetWorkflowAlpha1(ctx context.Context, req *GetWorkflowRequest) (*GetWorkflowResponse, error) {
if req.InstanceID == "" {
return nil, errors.New("failed to get workflow status: InstanceID must be supplied")

}
if req.WorkflowComponent == "" {
return nil, errors.New("failed to get workflow status: WorkflowComponent must be supplied")
Expand All @@ -122,7 +121,6 @@ func (c *GRPCClient) GetWorkflowAlpha1(ctx context.Context, req *GetWorkflowRequ
func (c *GRPCClient) PurgeWorkflowAlpha1(ctx context.Context, req *PurgeWorkflowRequest) error {
if req.InstanceID == "" {
return errors.New("failed to purge workflow: InstanceID must be supplied")

}
if req.WorkflowComponent == "" {
return errors.New("failed to purge workflow: WorkflowComponent must be supplied")
Expand All @@ -141,7 +139,6 @@ func (c *GRPCClient) PurgeWorkflowAlpha1(ctx context.Context, req *PurgeWorkflow
func (c *GRPCClient) TerminateWorkflowAlpha1(ctx context.Context, req *TerminateWorkflowRequest) error {
if req.InstanceID == "" {
return errors.New("failed to terminate workflow: InstanceID must be supplied")

}
if req.WorkflowComponent == "" {
return errors.New("failed to terminate workflow: WorkflowComponent must be supplied")
Expand Down Expand Up @@ -270,7 +267,6 @@ func (c *GRPCClient) GetWorkflowBeta1(ctx context.Context, req *GetWorkflowReque
func (c *GRPCClient) PurgeWorkflowBeta1(ctx context.Context, req *PurgeWorkflowRequest) error {
if req.InstanceID == "" {
return errors.New("failed to purge workflow: InstanceID must be supplied")

}
if req.WorkflowComponent == "" {
return errors.New("failed to purge workflow: WorkflowComponent must be supplied")
Expand Down Expand Up @@ -307,7 +303,6 @@ func (c *GRPCClient) TerminateWorkflowBeta1(ctx context.Context, req *TerminateW
func (c *GRPCClient) PauseWorkflowBeta1(ctx context.Context, req *PauseWorkflowRequest) error {
if req.InstanceID == "" {
return errors.New("failed to pause workflow: InstanceID must be supplied")

}
if req.WorkflowComponent == "" {
return errors.New("failed to pause workflow, WorkflowComponent must be supplied")
Expand Down Expand Up @@ -344,7 +339,6 @@ func (c *GRPCClient) ResumeWorkflowBeta1(ctx context.Context, req *ResumeWorkflo
func (c *GRPCClient) RaiseEventWorkflowBeta1(ctx context.Context, req *RaiseEventWorkflowRequest) error {
if req.InstanceID == "" {
return errors.New("failed to raise event on workflow: InstanceID must be supplied")

}
if req.WorkflowComponent == "" {
return errors.New("failed to raise event on workflow: WorkflowComponent must be supplied")
Expand Down

0 comments on commit c0d0800

Please sign in to comment.