Exposing expiration for memory driver

This commit is contained in:
Frederick F. Kautz IV
2015-04-30 21:15:33 -07:00
parent c01fb92eca
commit b86b26e7e5
4 changed files with 20 additions and 8 deletions

4
Godeps/Godeps.json generated
View File

@@ -27,8 +27,8 @@
},
{
"ImportPath": "github.com/minio-io/cli",
"Comment": "1.2.0-108-g4ad376c",
"Rev": "4ad376c97a51a452e36aaa4c19e42560e64be836"
"Comment": "1.2.0-110-g111d644",
"Rev": "111d6445d384505978aaf5b218ce96d163b73c57"
},
{
"ImportPath": "github.com/stretchr/objx",

View File

@@ -186,7 +186,7 @@ func (a Args) Last() string {
// Tail - Return the rest of the arguments (not the first one)
// or else an empty string slice
func (a Args) Tail() []string {
func (a Args) Tail() Args {
if len(a) >= 2 {
return []string(a)[1:]
}