Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

update: remove unreachable code#211

Open
k8scat wants to merge 1 commit into
docker:mainfrom
k8scat:main
Open

update: remove unreachable code#211
k8scat wants to merge 1 commit into
docker:mainfrom
k8scat:main

Conversation

@k8scat
Copy link
Copy Markdown

@k8scat k8scat commented Sep 24, 2022

Remove unreachable code

if resp.StatusCode < 200 || resp.StatusCode >= 300 {
	return nil, fmt.Errorf("bad status code %q: %s", resp.Status, string(buf))
}

Signed-off-by: K8sCat <k8scat@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant