From d9fbbfac1c87d87111fb15c154df829b2c36107f Mon Sep 17 00:00:00 2001 From: Jarno Rankinen Date: Thu, 7 Mar 2024 21:20:40 +0200 Subject: [PATCH] Fix typos --- README.md | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36cab05..165efc0 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ has been used. Username for HTTP Basic Authentication (default "pingvin") ``` On first run, the daemon generates `~/.config/enervent-ctrl/configuration.yaml` with default values. -Configuration options are the same as with CLI flags. CLI flags take precedenence over the config file. +Configuration options are the same as with CLI flags. CLI flags take precedence over the config file. - `serial_address:` Path to RS-485 serial device - `port:` TCP port for the REST API to listen on - `ssl_certificate:` Path to SSL certificate for HTTPS diff --git a/main.go b/main.go index 785a813..0161898 100644 --- a/main.go +++ b/main.go @@ -155,7 +155,7 @@ func initDefaultConfig(confpath string) { } } -// Read configuration. CLI flags take presedence over configuration file +// Read configuration. CLI flags take precedence over configuration file func configure() { log.Println("Reading configuration") parseConfigFile()