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

fastly backend create: override host cannot be an empty string #936

Merged
merged 4 commits into from
May 16, 2023

Conversation

dcaba
Copy link
Contributor

@dcaba dcaba commented May 16, 2023

Fixes #935

But there may be better ways of doing this (revisiting SetBackendHostDefaults() role or signature would be maybe a more elegant choice?)

dcaba added 2 commits May 16, 2023 14:27
…when we dont supply one but we supply a backend as an ip address
@dcaba dcaba marked this pull request as ready for review May 16, 2023 12:54
Copy link
Collaborator

@Integralist Integralist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

pkg/commands/backend/backend_test.go Outdated Show resolved Hide resolved
pkg/commands/backend/backend_test.go Outdated Show resolved Hide resolved
@Integralist Integralist added the bug Something isn't working label May 16, 2023
@Integralist Integralist merged commit 0e1a2b3 into fastly:main May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fastly backend create gets rejected by the Fastly API when pointing address to an IP
2 participants