Skip to content
Snippets Groups Projects
Commit 8fac888a authored by Pea Nut's avatar Pea Nut
Browse files

Remove bitmask.initBitmaskVPN function

It only calls vpn.Init()
parent fe255138
Branches
Tags
1 merge request!225Close log file during teardown + some code cleanup
......@@ -62,11 +62,6 @@ func ConfigureProvider(opts *ProviderOpts) {
config.ApiVersion = opts.ApiVersion
}
func initBitmaskVPN() (Bitmask, error) {
b, err := vpn.Init()
return b, err
}
func InitializeBitmask(conf *config.Config) (Bitmask, error) {
log.Trace().Msg("Initializing bitmask")
if conf.SkipLaunch {
......@@ -79,7 +74,7 @@ func InitializeBitmask(conf *config.Config) (Bitmask, error) {
}
}
b, err := initBitmaskVPN()
b, err := vpn.Init()
if err != nil {
return nil, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment