mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
fix typo
This commit is contained in:
@@ -30,9 +30,9 @@ type TailnetRepository interface {
|
|||||||
DeleteTailnet(ctx context.Context, id uint64) error
|
DeleteTailnet(ctx context.Context, id uint64) error
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t Tailnet) GetDERPMap(ctx context.Context, fallack DefaultDERPMap) (*DERPMap, error) {
|
func (t Tailnet) GetDERPMap(ctx context.Context, fallback DefaultDERPMap) (*DERPMap, error) {
|
||||||
if t.DERPMap.Checksum == "" {
|
if t.DERPMap.Checksum == "" {
|
||||||
return fallack.GetDERPMap(ctx)
|
return fallback.GetDERPMap(ctx)
|
||||||
} else {
|
} else {
|
||||||
return &t.DERPMap, nil
|
return &t.DERPMap, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user