mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Feature #1611: Fix bug in onegroup/user defaultquota, file argument was ignored
This commit is contained in:
1 parent
d2a88b0376
commit
87f307c1dc
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -162,7 +162,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
str = OneQuotaHelper.set_quota(default_quotas, args[1])
|
||||
str = OneQuotaHelper.set_quota(default_quotas, args[0])
|
||||
|
||||
rc = system.set_group_quotas(str)
|
||||
|
||||
|
||||
+1
-1
@@ -258,7 +258,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
str = OneQuotaHelper.set_quota(default_quotas, args[1])
|
||||
str = OneQuotaHelper.set_quota(default_quotas, args[0])
|
||||
|
||||
rc = system.set_user_quotas(str)
|
||||
|
||||
|
||||
Reference in new issue
Block a user