-
Notifications
You must be signed in to change notification settings - Fork 74
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
Added API Action Request #951
Conversation
@@ -191,7 +191,28 @@ message ConfigUploadRequest { | |||
} | |||
|
|||
// Perform an associated API action on an instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add comments to the fields in the new proto messages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add comments to all the fields like instance_id, http_upstream_name, servers, etc.
@@ -191,7 +191,28 @@ message ConfigUploadRequest { | |||
} | |||
|
|||
// Perform an associated API action on an instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add comments to all the fields like instance_id, http_upstream_name, servers, etc.
var servers []client.UpstreamServer | ||
res, err := json.Marshal(upstreams) | ||
if err != nil { | ||
slog.Error("Failed to marshal upstreams", "error", err, "servers", servers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slog.Error("Failed to marshal upstreams", "error", err, "servers", servers) | |
slog.Error("Failed to marshal upstreams", "error", err, "upstreams", upstreams) |
Proposed changes
Added API Action Request ManagementPlaneRequest
Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentmake install-tools
and have attached any dependency changes to this pull requestREADME.md
)