mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
Exposing expiration for memory driver
This commit is contained in:
+1
-1
@@ -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:]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user