Skip to content

Commit

Permalink
Merge pull request #268 from DivyaVavili/dns_error_msg_fix
Browse files Browse the repository at this point in the history
Fix DNS attach error message
  • Loading branch information
shaleman committed Feb 5, 2016
2 parents f59526b + 56f3a96 commit 9bb8d26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion netmaster/master/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ func attachServiceContainer(tenantName, networkName string, stateDriver core.Sta
if err != nil {
log.Errorf("Could not attach container(%s) to network %s. Error: %s",
contName, dnetName, err)
return err
return fmt.Errorf("Could not attach container(%s) to network %s."+
"Please make sure %s container is up.",
contName, dnetName, contName)
}

// inspect the container
Expand Down

0 comments on commit 9bb8d26

Please sign in to comment.