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

ASF GitHub Bot commented on RYA-427:
------------------------------------

Github user kchilton2 commented on a diff in the pull request:

    https://github.com/apache/incubator-rya/pull/261#discussion_r160290133
  
    --- Diff: 
extras/shell/src/main/java/org/apache/rya/shell/RyaConnectionCommands.java ---
    @@ -88,11 +89,11 @@ public boolean areConnectCommandsAvailable() {
         @CliAvailabilityIndicator({CONNECT_INSTANCE_CMD})
         public boolean isConnectToInstanceAvailable() {
             switch(sharedState.getShellState().getConnectionState()) {
    -            case CONNECTED_TO_STORAGE:
    -            case CONNECTED_TO_INSTANCE:
    -                return true;
    -            default:
    -                return false;
    +        case CONNECTED_TO_STORAGE:
    --- End diff --
    
    Please undo the switch spacing change.


> Connect to mongo command in the shell should fail if unable to connect
> ----------------------------------------------------------------------
>
>                 Key: RYA-427
>                 URL: https://issues.apache.org/jira/browse/RYA-427
>             Project: Rya
>          Issue Type: Bug
>            Reporter: Andrew Smith
>            Assignee: Andrew Smith
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to