Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkg/app/api/grpcapi/piped_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ func (a *PipedAPI) ReportApplicationDeployingStatus(ctx context.Context, req *pi
app.Deploying = req.Deploying
return nil
})
if err == nil {
return &pipedservice.ReportApplicationDeployingStatusResponse{}, nil
}

switch err {
case datastore.ErrNotFound:
return nil, status.Error(codes.InvalidArgument, "application is not found")
Expand All @@ -232,8 +236,6 @@ func (a *PipedAPI) ReportApplicationDeployingStatus(ctx context.Context, req *pi
)
return nil, status.Error(codes.Internal, "failed to update deploying status of application")
}

return &pipedservice.ReportApplicationDeployingStatusResponse{}, nil
}

// ReportApplicationMostRecentDeployment is used to update the basic information about
Expand Down