You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2015/10/03 17:04:26 UTC

[jira] [Commented] (SLIDER-934) changes in list Action broke return codes from `list` action

    [ https://issues.apache.org/jira/browse/SLIDER-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942344#comment-14942344 ] 

Gour Saha commented on SLIDER-934:
----------------------------------

[~stevel@apache.org] I agree with your suggestion. We should be consistent in the return code. If no clustername is provided on the commandline, the list should return with exit code 0, irrespective of the state filter criteria. 

Sticking to the original behavior of returning -1 for list with specific clustername continues to makes sense. Providing the fix right now.

> changes in list Action broke return codes from `list` action
> ------------------------------------------------------------
>
>                 Key: SLIDER-934
>                 URL: https://issues.apache.org/jira/browse/SLIDER-934
>             Project: Slider
>          Issue Type: Bug
>          Components: client
>    Affects Versions: Slider 0.81
>            Reporter: Steve Loughran
>            Assignee: Gour Saha
>             Fix For: Slider 0.81
>
>
> in SLIDER-928 the exit code logic of the list operations has changed, now if 0 entries are found the exit code is -1. 
> Before this change, if you did a "list" without args, it would return 0 irrespective of the number of apps. That is: the operation worked, its just an empty listing.
> The breaks {{AgentClusterLifecycleIT}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)