class OpenShift::Runtime::NodeJSDB

Public Instance Methods

callout() click to toggle source
# File lib/openshift-origin-node/model/frontend_httpd.rb, line 1140
def callout
  begin
    ::OpenShift::Runtime::Utils::oo_spawn("service openshift-node-web-proxy reload",{:expected_exitstatus=>0})
  rescue ::OpenShift::Runtime::Utils::ShellExecutionException => e
    logger.error("ERROR: failure from openshift-node-web-proxy(#{e.rc}) stdout: #{e.stdout} stderr:#{e.stderr}")
  end
end