Use new function naming

PiperOrigin-RevId: 253191002
Change-Id: If00c0effb925b3e294593f272447cd8386228bac
This commit is contained in:
Wiktor Garbacz 2019-06-14 02:08:43 -07:00 committed by Copybara-Service
parent 4d891de31b
commit 605d402121
2 changed files with 1 additions and 2 deletions

View File

@ -129,7 +129,7 @@ pid_t Executor::StartSubProcess(int32_t clone_flags, const Namespace* ns,
if (ns) {
clone_flags |= ns->GetCloneFlags();
*request.mutable_mount_tree() = ns->mounts().GetMountTree();
request.set_hostname(ns->GetHostname());
request.set_hostname(ns->hostname());
}
request.set_clone_flags(clone_flags);

View File

@ -56,7 +56,6 @@ class Namespace final {
const Mounts& mounts() const { return mounts_; }
const std::string& hostname() const { return hostname_; }
const std::string& GetHostname() const { return hostname_; }
private:
friend class StackTracePeer;