You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add warning log message about which config files to try
If the specified `--config` does not exist, then crictl will try the
binary directory as last resort. We now log that behavior so that end
users don't think unintentionally they specified the wrong `--config`
value:
```
> sudo ./build/bin/linux/amd64/crictl --config ~/downloads/crictl.yaml config --list
WARN[0000] Config "/home/x/downloads/crictl.yaml" does not exist, trying: "/home/s/go/src/sigs.k8s.io/cri-tools/build/bin/linux/amd64/crictl.yaml"
FATA[0000] load config file: stat /home/sascha/go/src/sigs.k8s.io/cri-tools/build/bin/linux/amd64/crictl.yaml: no such file or directory
```
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
0 commit comments