diff --git a/ocis-pkg/config/envdecode/README.md b/ocis-pkg/config/envdecode/README.md index fa3d48b58..39f5ca7a7 100644 --- a/ocis-pkg/config/envdecode/README.md +++ b/ocis-pkg/config/envdecode/README.md @@ -3,7 +3,7 @@ variables. It's basically a fork of https://github.com/joeshaw/envdecode, but changed to support multiple environment variables (precedence). `envdecode` uses struct tags to map environment variables to fields, -allowing you you use any names you want for environment variables. +allowing you to use any names you want for environment variables. `envdecode` will recurse into nested structs, including pointers to nested structs, but it will not allocate new pointers to structs. diff --git a/services/notifications/pkg/config/config.go b/services/notifications/pkg/config/config.go index 849f1ac1f..cefd752b4 100644 --- a/services/notifications/pkg/config/config.go +++ b/services/notifications/pkg/config/config.go @@ -20,7 +20,7 @@ type Config struct { Context context.Context `yaml:"-"` } -// Notifications definces the config options for the notifications service. +// Notifications defines the config options for the notifications service. type Notifications struct { SMTP SMTP `yaml:"SMTP"` Events Events `yaml:"events"`