[Groonga-commit] droonga/droonga-client-ruby at e0d9232 [master] Return false for error case

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 29 13:27:19 JST 2015


YUKI Hiroshi	2015-04-29 13:27:19 +0900 (Wed, 29 Apr 2015)

  New Revision: e0d9232d2ac724ca59c8f2f886006d205be974b8
  https://github.com/droonga/droonga-client-ruby/commit/e0d9232d2ac724ca59c8f2f886006d205be974b8

  Message:
    Return false for error case

  Modified files:
    bin/droonga-groonga
    bin/droonga-system-status

  Modified: bin/droonga-groonga (+1 -1)
===================================================================
--- bin/droonga-groonga    2015-04-29 13:25:52 +0900 (df4dd44)
+++ bin/droonga-groonga    2015-04-29 13:27:19 +0900 (b970421)
@@ -61,7 +61,7 @@ module Droonga
         true
       rescue MissingRequiredParameter, InvalidCommandName, MissingCommandName
         puts(@options)
-        true
+        false
       rescue NoResponse
         puts("Error: request timed out.")
         false

  Modified: bin/droonga-system-status (+1 -1)
===================================================================
--- bin/droonga-system-status    2015-04-29 13:25:52 +0900 (ef216c5)
+++ bin/droonga-system-status    2015-04-29 13:27:19 +0900 (3813eb1)
@@ -43,7 +43,7 @@ module Droonga
         true
       rescue MissingRequiredParameter
         puts(@options)
-        true
+        false
       rescue NoResponse
         puts("Error: request timed out.")
         false
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index