c59c9ff0458da3e4bf92e83201b4057f19de9b25

Author
Ayman Bagabas <ayman.bagabas@gmail.com>
Committer
Ayman Bagabas <ayman.bagabas@gmail.com>
Date

Message

fix(config): yaml notations

Diff

 1diff --git a/server/config/config.go b/server/config/config.go
 2index ddbb0e566d647d05899f239c18f26d64c4f174ff..e2435bd48c8be9380c583d5d1b394457bb477305 100644
 3--- a/server/config/config.go
 4+++ b/server/config/config.go
 5@@ -26,7 +26,7 @@ type SSHConfig struct {
 6 	KeyPath string `env:"KEY_PATH" yaml:"key_path"`
 7 
 8 	// MaxTimeout is the maximum number of seconds a connection can take.
 9-	MaxTimeout int `env:"MAX_TIMEOUT" yaml:"max_timeout`
10+	MaxTimeout int `env:"MAX_TIMEOUT" yaml:"max_timeout"`
11 
12 	// IdleTimeout is the number of seconds a connection can be idle before it is closed.
13 	IdleTimeout int `env:"IDLE_TIMEOUT" yaml:"idle_timeout"`