bug fix
This commit is contained in:
parent
f46936976c
commit
9b579a963b
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func Start() {
|
func Start() {
|
||||||
for {
|
for {
|
||||||
if config.Instance.IsInit {
|
if config.Instance != nil && config.Instance.IsInit {
|
||||||
days, err := ssl.CheckSSLCrtInfo()
|
days, err := ssl.CheckSSLCrtInfo()
|
||||||
if days < 30 || err != nil {
|
if days < 30 || err != nil {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user