Skip to content

Commit

Permalink
Merge pull request kubernetes#3994 from smarterclayton/log_failure_to…
Browse files Browse the repository at this point in the history
…_create_service

Print the returned object in the event of a publish error
  • Loading branch information
satnam6502 committed Jan 30, 2015
2 parents 5b6eee2 + 49ee279 commit b40d079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/master/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (m *Master) createMasterServiceIfNeeded(serviceName string, port int) error
// If all worked, we get back an *api.Service object.
return nil
}
return fmt.Errorf("unexpected response: %#v", resp)
return fmt.Errorf("unexpected response: %#v", resp.Object)
}

// ensureEndpointsContain sets the endpoints for the given service. Also removes
Expand Down

0 comments on commit b40d079

Please sign in to comment.