Skip to content

Commit

Permalink
chore: fix wrong err return
Browse files Browse the repository at this point in the history
  • Loading branch information
heiruwu committed Jan 26, 2024
1 parent 73db596 commit 43d1115
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ func (s *service) GetResourceState(ctx context.Context, resourcePermalink string

stateEnumValue, _ := strconv.ParseInt(string(kvs[0].Value[:]), 10, 32)

workflowID, err := s.GetResourceWorkflowID(ctx, resourcePermalink)
if err != nil {
return nil, err
}
workflowID, _ := s.GetResourceWorkflowID(ctx, resourcePermalink)

switch resourceType {
case util.RESOURCE_TYPE_MODEL:
Expand Down

0 comments on commit 43d1115

Please sign in to comment.