error strings should not end with punctuation

Signed-off-by: yupeng <yu.peng36@zte.com.cn>
This commit is contained in:
yupeng
2016-12-03 15:17:18 +08:00
parent cd560926bd
commit 31c46e1d2c
5 changed files with 10 additions and 10 deletions

View File

@@ -290,7 +290,7 @@ func (s *ServiceController) init() error {
}
zones, ok := s.dns.Zones()
if !ok {
return fmt.Errorf("the dns provider does not support zone enumeration, which is required for creating dns records.")
return fmt.Errorf("the dns provider does not support zone enumeration, which is required for creating dns records")
}
s.dnsZones = zones
matchingZones, err := getDnsZones(s.zoneName, s.zoneID, s.dnsZones)