From d8dddc889131dd2d759ae9a0142d705fcab80f00 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 26 Aug 2022 10:21:36 +0545 Subject: [PATCH 1/2] Fix typo of 'defines' --- services/notifications/pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/notifications/pkg/config/config.go b/services/notifications/pkg/config/config.go index 849f1ac1ff6..cefd752b46e 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"` From ef04aebc90093dc6c6886d4075aa1433d4e2729d Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 26 Aug 2022 10:35:47 +0545 Subject: [PATCH 2/2] Fix grammar in README --- ocis-pkg/config/envdecode/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocis-pkg/config/envdecode/README.md b/ocis-pkg/config/envdecode/README.md index fa3d48b586f..39f5ca7a77e 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.