Skip to content

Deregister endpoint#682

Merged
moskyb merged 6 commits into
mainfrom
deregister-endpoint
Sep 8, 2025
Merged

Deregister endpoint#682
moskyb merged 6 commits into
mainfrom
deregister-endpoint

Conversation

@moskyb
Copy link
Copy Markdown
Contributor

@moskyb moskyb commented Sep 4, 2025

This PR mostly just adds a method that uses the deregister endpoint, but it also adds a couple of testing bits and bobs.

@moskyb moskyb requested a review from zhming0 September 4, 2025 06:07
@moskyb moskyb requested a review from a team as a code owner September 4, 2025 06:07
Copy link
Copy Markdown
Contributor

@zhming0 zhming0 left a comment

Choose a reason for hiding this comment

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

Looks good.

Comment thread internal/stacksapi/register.go Outdated
return stack, nil
}

func (c *Client) DeregisterStack(ctx context.Context, stackID string, opts ...RequestOption) error {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As a client library I think will be nice to have code comments here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh yup, good call. the arg should be called stackKey too.

@moskyb moskyb force-pushed the deregister-endpoint branch from fcd6ce4 to 1d071d9 Compare September 8, 2025 04:11
@moskyb moskyb force-pushed the deregister-endpoint branch from 1d071d9 to 151d0f5 Compare September 8, 2025 04:13
@moskyb moskyb enabled auto-merge September 8, 2025 04:13
@moskyb moskyb merged commit 84660af into main Sep 8, 2025
1 check passed
@moskyb moskyb deleted the deregister-endpoint branch September 8, 2025 04:27
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.

2 participants