Aditya Manthramurthy
d9663e5d96
Improve lock error message ( #2353 )
2018-01-16 21:25:03 +05:30
Aditya Manthramurthy
ca96cfc6e6
Move pkg/probe from vendor dir to package dir ( #2236 )
...
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.
This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Harshavardhana
018bcbf629
cli/docs: Fix all cli docs to be consistent in terms of usage. ( #2119 )
...
ALIAS should be called as TARGET for all cli commands.
2017-04-11 12:06:02 +01:00
Krishnan Parthasarathi
05468dfc8d
Improve admin subcommand structure ( #2098 )
...
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Harshavardhana
1ef242a5c1
Fix all cli commands to have consistent UI ( #2040 )
...
Fixes #2038
2017-02-27 11:44:26 -08:00
Harshavardhana
e7e44b96ee
Avoid printing hidden flags and commands with custom help. ( #2015 )
...
Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.
2017-02-15 02:05:29 -08:00
Anis Elleuch
fb9d10772a
help: Use {{.HelpName}} in help/examples template ( #2013 )
...
It is easier to use {{.HelpName}} in help text template to print
the mc binary name plus the whole command hierarchy (binary name +
command + subcommand, etc..)
2017-02-12 09:30:00 -08:00
Anis Elleuch
ad850412d2
lock: Update madmin pkg and use duration flag name ( #1994 )
...
* Use new errors format returned madmin APIs
* Use duration query name in Locks API
2017-02-01 12:19:27 -08:00
Anis Elleuch
6b2e63e66c
locks: Use new json format for list/clear results ( #1975 )
...
Also minio-admin package has been updated
2017-01-19 12:07:45 -08:00
Anis Elleuch
085a1e512f
flags: use IsSet to fetch for cli flags ( #1969 )
...
cli package fails to search for global flags when we use many level of subcommands. This PR uses context.IsSet() instead.
2017-01-19 11:25:35 -08:00
Anis Elleuch
94bd9564d0
admin: fatal message for unknown aliases ( #1953 )
...
This change issues a fatal message when the provided alias in cli is not known
2017-01-09 08:47:43 -08:00
Anis Elleuch
c6cb6595be
admin: Simplify client initialization ( #1951 )
...
newAdminClient() is added to simplify initialization and take care of ssl connections
and tracing http request
2017-01-07 16:00:22 -08:00
Harshavardhana
5d3c4ed96c
admin/lock: list locks defaults to 24hrs and older.
2017-01-06 01:42:47 -08:00
Anis Elleuch
7cec8f2285
Add admin lock command ( #1942 )
2017-01-06 01:29:49 -08:00