Skip to content

Commit 6e084a5

Browse files
committed
Fix variable assignment
1 parent ece1978 commit 6e084a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: metadata/metadata.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (m *MetadataClient) getContainersDnsRecords(dnsEntries map[string]utils.Dns
9494
if _, ok := hostMeta[hostUUID]; ok {
9595
host = hostMeta[hostUUID]
9696
} else {
97-
host, err := m.MetadataClient.GetHost(hostUUID)
97+
host, err = m.MetadataClient.GetHost(hostUUID)
9898
if err != nil {
9999
logrus.Warnf("Failed to get host metadata: %v", err)
100100
continue

0 commit comments

Comments
 (0)