Fix variable assignment

This commit is contained in:
janeczku
2016-11-29 23:49:11 +01:00
parent ece1978c54
commit 6e084a570f
+1 -1
View File
@@ -94,7 +94,7 @@ func (m *MetadataClient) getContainersDnsRecords(dnsEntries map[string]utils.Dns
if _, ok := hostMeta[hostUUID]; ok {
host = hostMeta[hostUUID]
} else {
host, err := m.MetadataClient.GetHost(hostUUID)
host, err = m.MetadataClient.GetHost(hostUUID)
if err != nil {
logrus.Warnf("Failed to get host metadata: %v", err)
continue