MCPcopy Create free account
hub / github.com/apache/mesos / commandDiscarded

Function commandDiscarded

src/uri/fetchers/docker.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void commandDiscarded(const Subprocess& s, const string& cmd)
88{
89 if (s.status().isPending()) {
90 VLOG(1) << "'" << cmd << "' is being discarded";
91 os::kill(s.pid(), SIGKILL);
92 }
93}
94
95
96// TODO(jieyu): Move the following curl based utility functions to a

Callers

nothing calls this directly

Calls 4

killFunction · 0.50
isPendingMethod · 0.45
statusMethod · 0.45
pidMethod · 0.45

Tested by

no test coverage detected