refactor: rename config structs (#5459)

This commit is contained in:
Elio Bischof
2023-03-16 17:24:30 +00:00
committed by GitHub
parent 1896f13952
commit 09abf06d4d
27 changed files with 92 additions and 92 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"github.com/zitadel/zitadel/internal/notification/messages"
)
func InitFSChannel(config FSConfig) (channels.NotificationChannel, error) {
func InitFSChannel(config Config) (channels.NotificationChannel, error) {
if err := os.MkdirAll(config.Path, os.ModePerm); err != nil {
return nil, err
}
+1 -1
View File
@@ -1,6 +1,6 @@
package fs
type FSConfig struct {
type Config struct {
Enabled bool
Compact bool
Path string