redixin

Results 5 issues of redixin

When I query nonexistent resource type, I got ApiException: ``` kubernetes.client.exceptions.ApiException: (404) Reason: Not Found HTTP response headers: HTTPHeaderDict({'Audit-Id': '9954faf3-7258-4619-b6b4-c3ac0b55a340', 'Cache-Control': 'no-cache, private', 'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'cee19ddf-4747-45cb-93a7-e774fe2a061e',...

kind/bug

Fixes #1872 When I query nonexistent resource type, I got ApiException: ``` kubernetes.client.exceptions.ApiException: (404) Reason: Not Found HTTP response headers: HTTPHeaderDict({'Audit-Id': '9954faf3-7258-4619-b6b4-c3ac0b55a340', 'Cache-Control': 'no-cache, private', 'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff',...

cncf-cla: yes
size/S
do-not-merge/release-note-label-needed
needs-kind
do-not-merge/invalid-commit-message

Disk by-id (e.g. /dev/disk/by-id/nvme-eui.0134314821d7dd35) ById is most reliable way to identify disk because disk Name and ByPath may be changed after reboot. At the same time ById is always the...

| | | |:---|:---| |**_Originating Project/Creator_**| | |**_Affected Component_**| | |**_Affected Architectures(s)_**| | |**_Related Issue(s)_**| | |**_Has Unit Tests (y/n)_**| | |**_Builds Without Errors (y/n)_**| | |**_Unit Tests Pass (y/n)_**|...

There is no need to check returned value of built in function `open'. Documentation says: > If the file cannot be opened, IOError is raised. https://docs.python.org/2/library/functions.html#open | | | |:---|:---|...