mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-10 04:30:20 +02:00
chore(storage): fix comment for ServersAreEqual
This commit is contained in:
@@ -60,7 +60,8 @@ func (s *Storage) Format(provider, format string) (formatted string, err error)
|
|||||||
return serversObject.Format(provider, format)
|
return serversObject.Format(provider, format)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetServersCount returns the number of servers for the provider given.
|
// ServersAreEqual returns whether the servers for the provider
|
||||||
|
// in storage are equal to the servers slice given.
|
||||||
func (s *Storage) ServersAreEqual(provider string, servers []models.Server) (equal bool) {
|
func (s *Storage) ServersAreEqual(provider string, servers []models.Server) (equal bool) {
|
||||||
if provider == providers.Custom {
|
if provider == providers.Custom {
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user