mirror of
				https://github.com/rclone/rclone.git
				synced 2025-10-30 23:17:59 +02:00 
			
		
		
		
	pcloud: make compile with go1.6
This commit is contained in:
		| @@ -135,7 +135,7 @@ func (g *GetFileLinkResult) IsValid() bool { | ||||
| 	if len(g.Hosts) == 0 { | ||||
| 		return false | ||||
| 	} | ||||
| 	return time.Until(time.Time(g.Expires)) > 30*time.Second | ||||
| 	return time.Time(g.Expires).Sub(time.Now()) > 30*time.Second | ||||
| } | ||||
|  | ||||
| // URL returns a URL from the Path and Hosts.  Check with IsValid | ||||
|   | ||||
		Reference in New Issue
	
	Block a user