Fix small copy and paste error
This commit is contained in:
parent
0cf8586136
commit
72cbf8af6f
|
@ -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 == "" {
|
||||
|
|
Loading…
Reference in New Issue