Commit 14378485 authored by Mike Danese's avatar Mike Danese

Merge pull request #19629 from yifan-gu/rkt_debug_logging

rkt: Add useful debugging message.
parents b7438274 74b8ffd1
...@@ -636,6 +636,8 @@ func (r *Runtime) preparePod(pod *api.Pod, pullSecrets []api.Secret) (string, *k ...@@ -636,6 +636,8 @@ func (r *Runtime) preparePod(pod *api.Pod, pullSecrets []api.Secret) (string, *k
if err != nil { if err != nil {
return "", nil, err return "", nil, err
} }
glog.V(4).Infof("Generating pod manifest for pod %q: %v", format.Pod(pod), string(data))
// Since File.Write returns error if the written length is less than len(data), // Since File.Write returns error if the written length is less than len(data),
// so check error is enough for us. // so check error is enough for us.
if _, err := manifestFile.Write(data); err != nil { if _, err := manifestFile.Write(data); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment