Skip to content

Conversation

@k8scat
Copy link

@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 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.

1 participant