diff --git a/config/config.go b/config/config.go index c83b73109..a340e0fed 100644 --- a/config/config.go +++ b/config/config.go @@ -891,7 +891,7 @@ func (c *GCESDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error { if err != nil { return err } - if err := checkOverflow(c.XXX, "ec2_sd_config"); err != nil { + if err := checkOverflow(c.XXX, "gce_sd_config"); err != nil { return err } if c.Project == "" {