Updating interface
Этот коммит содержится в:
@@ -6,7 +6,7 @@ package einterfaces
|
|||||||
import ()
|
import ()
|
||||||
|
|
||||||
type ComplianceInterface interface {
|
type ComplianceInterface interface {
|
||||||
StartComplianceJob()
|
StartComplianceDailyJob()
|
||||||
}
|
}
|
||||||
|
|
||||||
var theComplianceInterface ComplianceInterface
|
var theComplianceInterface ComplianceInterface
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ func main() {
|
|||||||
runSecurityAndDiagnosticsJobAndForget()
|
runSecurityAndDiagnosticsJobAndForget()
|
||||||
|
|
||||||
if einterfaces.GetComplianceInterface() != nil {
|
if einterfaces.GetComplianceInterface() != nil {
|
||||||
einterfaces.GetComplianceInterface().StartComplianceJob()
|
einterfaces.GetComplianceInterface().StartComplianceDailyJob()
|
||||||
}
|
}
|
||||||
|
|
||||||
// wait for kill signal before attempting to gracefully shutdown
|
// wait for kill signal before attempting to gracefully shutdown
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user