mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 00:06:38 +00:00
16 lines
306 B
Go
16 lines
306 B
Go
//go:build linux
|
|
|
|
package updatemanager
|
|
|
|
import "context"
|
|
|
|
func (u *UpdateManager) triggerUpdate(ctx context.Context, targetVersion string) error {
|
|
// Use test function if set (for testing purposes)
|
|
if u.updateFunc != nil {
|
|
return u.updateFunc(ctx, targetVersion)
|
|
}
|
|
|
|
// TODO: Implement
|
|
return nil
|
|
}
|