Skip to content

Commit

Permalink
crio annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
bparees committed Sep 24, 2017
1 parent 99dcb16 commit c52a663
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pkg/build/builder/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func getContainerNetworkMode() (string, string, error) {
}
glog.V(0).Infof("crio spec:\n%#v", info)
pid := string(info.Pid)
resolvConfHostPath := info.Annotations["io.kubernetes.cri-o.ResolvPath"]
resolvConfHostPath := info.CrioAnnotations["io.kubernetes.cri-o.ResolvPath"]
if len(resolvConfHostPath) == 0 {
return "", "", errors.New("/etc/resolv.conf hostpath is empty")
}
Expand Down
19 changes: 10 additions & 9 deletions vendor/github.com/google/cadvisor/container/crio/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c52a663

Please sign in to comment.