ing
This commit is contained in:
parent
08695e707b
commit
3387ffcfd9
@ -12,13 +12,11 @@ import (
|
|||||||
occa "git.loafle.net/overflow/commons-go/core/annotation"
|
occa "git.loafle.net/overflow/commons-go/core/annotation"
|
||||||
occi "git.loafle.net/overflow/commons-go/core/interfaces"
|
occi "git.loafle.net/overflow/commons-go/core/interfaces"
|
||||||
ocnc "git.loafle.net/overflow/commons-go/noauthprobe/config"
|
ocnc "git.loafle.net/overflow/commons-go/noauthprobe/config"
|
||||||
"git.loafle.net/overflow/probe/config"
|
|
||||||
|
|
||||||
"git.loafle.net/overflow/probe/auth/service"
|
"git.loafle.net/overflow/probe/auth/service"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Authenticator struct {
|
type Authenticator struct {
|
||||||
Config *config.Config
|
|
||||||
ConfigDir string
|
ConfigDir string
|
||||||
|
|
||||||
authConfig ocnc.Auth
|
authConfig ocnc.Auth
|
||||||
|
1
main.go
1
main.go
@ -45,7 +45,6 @@ func main() {
|
|||||||
if ocpc.ProbeStateTypeNotAuthorized == _config.Probe.State() {
|
if ocpc.ProbeStateTypeNotAuthorized == _config.Probe.State() {
|
||||||
instance = &auth.Authenticator{
|
instance = &auth.Authenticator{
|
||||||
ConfigDir: *configDir,
|
ConfigDir: *configDir,
|
||||||
Config: _config,
|
|
||||||
}
|
}
|
||||||
doneChan, err := instance.(occi.EndableStarter).EndableStart()
|
doneChan, err := instance.(occi.EndableStarter).EndableStart()
|
||||||
if nil != err {
|
if nil != err {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user