Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix erroring on dot-prefixed pod files #187

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

bverschueren
Copy link
Collaborator

This fixes:

$ omc get pods -n openshift-ingress
error: namespace openshift-ingress not found.

In MG's with "AppleDouble encoded Macintosh file" dot-prefixed files, e.g:

$ tree -a <mg-root>/namespaces/openshift-ingress/pods/
<mg-root>/namespaces/openshift-ingress/pods/
├── ._router-default-xxx-yyy
├── router-default-xxx-yyy
│   ├── ._router
│   ├── router
│   │   ├── ._router
│   │   └── router
│   │       ├── ._logs
│   │       └── logs
│   │           ├── ._current.log
│   │           ├── current.log
│   │           ├── ._previous.insecure.log
│   │           ├── previous.insecure.log
│   │           ├── ._previous.log
│   │           └── previous.log
│   ├── ._router-default-xxx-yyy.yaml
│   └── router-default-xxx-yyy.yaml
├── ._router-default-aaa-bbb
└── router-default-aaa-bbb
    ├── ._router
    ├── router
    │   ├── ._router
    │   └── router
    │       ├── ._logs
    │       └── logs
    │           ├── ._current.log
    │           ├── current.log
    │           ├── ._previous.insecure.log
    │           ├── previous.insecure.log
    │           ├── ._previous.log
    │           └── previous.log
    ├── ._router-default-aaa-bbb.yaml
    └── router-default-aaa-bbb.yaml

@bverschueren bverschueren force-pushed the fixErrNamespaceNotFound branch from 992fa33 to 083a59f Compare November 29, 2024 08:51
@gmeghnag gmeghnag merged commit fa70349 into gmeghnag:main Nov 29, 2024
1 check passed
@bverschueren bverschueren deleted the fixErrNamespaceNotFound branch December 3, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants