Skip to content

Commit 9bb8d26

Browse files
committed
Merge pull request #268 from DivyaVavili/dns_error_msg_fix
Fix DNS attach error message
2 parents f59526b + 56f3a96 commit 9bb8d26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

netmaster/master/network.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,9 @@ func attachServiceContainer(tenantName, networkName string, stateDriver core.Sta
301301
if err != nil {
302302
log.Errorf("Could not attach container(%s) to network %s. Error: %s",
303303
contName, dnetName, err)
304-
return err
304+
return fmt.Errorf("Could not attach container(%s) to network %s."+
305+
"Please make sure %s container is up.",
306+
contName, dnetName, contName)
305307
}
306308

307309
// inspect the container

0 commit comments

Comments
 (0)