master
Config.validate
func (c *Config) validate() error { if c.Credentials == nil { return errors.New("agent: Credentials is required") }