Skip to content

Conversation

@plorenz
Copy link
Member

@plorenz plorenz commented Jul 30, 2024

No description provided.

@plorenz plorenz requested a review from a team as a code owner July 30, 2024 19:48
@plorenz plorenz force-pushed the fix-config-types-on-svc-list branch from 4708010 to 5641135 Compare July 30, 2024 19:57
@plorenz plorenz force-pushed the fix-config-types-on-svc-list branch from 5641135 to 05db6bf Compare July 30, 2024 19:58
ziti/client.go Outdated
params.Offset = &pageOffset
params.ConfigTypes = self.ConfigTypes

if self.supportsSetOfConfigTypesOnServiceList() {
Copy link
Member

Choose a reason for hiding this comment

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

silly nit, but why are the Limit/Offset/ConfigTypes set in the loop. they never change, right? why not pull them outside the loop?

Copy link
Member Author

Choose a reason for hiding this comment

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

offset gets changed, but the other two don't. moved those out of the loop

Copy link
Member

@dovholuknf dovholuknf left a comment

Choose a reason for hiding this comment

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

perhaps a nit comment, but lgtm

@plorenz plorenz merged commit f853cab into main Jul 31, 2024
@plorenz plorenz deleted the fix-config-types-on-svc-list branch July 31, 2024 14:57
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.

3 participants