Skip to content

Commit

Permalink
Fix variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
janeczku committed Nov 29, 2016
1 parent ece1978 commit 6e084a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e084a5

Please sign in to comment.