~ghost08/server

7f2f37667a239a30e27aaa161b3b12b1f913308d — Vladimír Magyar 1 year, 8 months 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
}