hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject svn commit: r1466824 - /hbase/trunk/hbase-server/src/main/ruby/hbase/security.rb
Date Thu, 11 Apr 2013 10:29:14 GMT
Author: mbertozzi
Date: Thu Apr 11 10:29:14 2013
New Revision: 1466824

URL: http://svn.apache.org/r1466824
Log:
HBASE-7658 grant with an empty string as permission should throw an exception (addendum)

Modified:
    hbase/trunk/hbase-server/src/main/ruby/hbase/security.rb

Modified: hbase/trunk/hbase-server/src/main/ruby/hbase/security.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/ruby/hbase/security.rb?rev=1466824&r1=1466823&r2=1466824&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/ruby/hbase/security.rb (original)
+++ hbase/trunk/hbase-server/src/main/ruby/hbase/security.rb Thu Apr 11 10:29:14 2013
@@ -38,7 +38,7 @@ module Hbase
 
       # Verify that the specified permission is valid
       if (permissions == nil || permissions.length == 0)
-        raise(ArgumentError, "Ivalid permission: no actions associated with user")
+        raise(ArgumentError, "Invalid permission: no actions associated with user")
       end
 
       if (table_name != nil)



Mime
View raw message