Merge pull request #6276 from sachaos/feature/fix-wrong-document-about-make-install-deps
Fix wrong make target on documentation
This commit is contained in:
commit
51e60404ae
@ -15,7 +15,7 @@ should have installed crictl for you. If not, get it from your release tarball.
|
||||
If you are a developer the current version of crictl is specified [here](/script/setup/critools-version).
|
||||
A helper command has been included to install the dependencies at the right version:
|
||||
```console
|
||||
$ make install.deps
|
||||
$ make install-deps
|
||||
```
|
||||
* Note: The file named `/etc/crictl.yaml` is used to configure crictl
|
||||
so you don't have to repeatedly specify the runtime sock used to connect crictl
|
||||
|
@ -58,7 +58,7 @@ func TestImageLoad(t *testing.T) {
|
||||
|
||||
t.Logf("load image in cri")
|
||||
ctr, err := exec.LookPath("ctr")
|
||||
require.NoError(t, err, "ctr should be installed, make sure you've run `make install.deps`")
|
||||
require.NoError(t, err, "ctr should be installed, make sure you've run `make install-deps`")
|
||||
output, err = exec.Command(ctr, "-address="+containerdEndpoint,
|
||||
"-n=k8s.io", "images", "import", tar).CombinedOutput()
|
||||
require.NoError(t, err, "output: %q", output)
|
||||
|
Loading…
Reference in New Issue
Block a user