Skip to content

Commit

Permalink
git review resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
yashjaind11 committed Oct 23, 2024
1 parent 6b01dc1 commit cca031a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,8 @@ func (e *Service) ReleaseService(ctx *context.Context, request *serviceProto.Rel
}
if strings.Contains(strings.ToLower(message), "fail") {
return errors.New(message)
} else {
log.Info("Service released successfully !")
}
log.Info("Service released successfully !")
return err
}

Expand Down

0 comments on commit cca031a

Please sign in to comment.