~ghost08/server

7f2f37667a239a30e27aaa161b3b12b1f913308d — VladimĂ­r Magyar 2 years ago 389c7ba v1.0.2
Add watching dir log to keypair reloader
1 files changed, 1 insertions(+), 1 deletions(-)

M keypair_reloader.go
M keypair_reloader.go => keypair_reloader.go +1 -1
@@ 51,8 51,8 @@ func NewKeypairReloader(certPath, keyPath string) (*keypairReloader, error) {
			}
		}
	}()
	log.Printf("INFO: watching tls cerst at: %s", filepath.Dir(certPath))
	watcher.Add(filepath.Dir(certPath))
	watcher.Add(filepath.Dir(keyPath))
	return result, nil
}