mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 16:15:04 +02:00
sdk enable; canary enabler (#935)
This commit is contained in:
14
controller/unbootstrap.go
Normal file
14
controller/unbootstrap.go
Normal file
@ -0,0 +1,14 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"github.com/openziti/zrok/controller/config"
|
||||
"github.com/openziti/zrok/controller/zrokEdgeSdk"
|
||||
)
|
||||
|
||||
func Unbootstrap(cfg *config.Config) error {
|
||||
_, err := zrokEdgeSdk.Client(cfg.Ziti)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user