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

lakectl endpoint configure and endpoint path reuse #6609

Merged
merged 4 commits into from
Sep 19, 2023

Conversation

nopcoder
Copy link
Contributor

Close #6542

  • lakectl configure: error when configured with path
  • docs: example of lakectl configuration
  • reuse /api/v1 constant

@nopcoder nopcoder self-assigned this Sep 15, 2023
@github-actions
Copy link

github-actions bot commented Sep 15, 2023

♻️ PR Preview 9d0f6ff has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@nopcoder nopcoder added area/lakectl Issues related to lakeFS' command line interface (lakectl) include-changelog PR description should be included in next release changelog labels Sep 17, 2023
@nopcoder nopcoder requested a review from a team September 18, 2023 06:34
@nopcoder nopcoder force-pushed the chore/lakectl-endpoint branch from 8b1fea7 to 9425aa6 Compare September 18, 2023 13:50
return err
}
if u.Path != "" {
return fmt.Errorf("%w: do not specify endpoint path", ErrInvalidEndpoint)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that it shouldn't return an error but instead add a guidance that instructs the user to provide the server's root endpoint: Root sever endpoint URL or something of this sort

Copy link
Contributor

@Jonathan-Rosenberg Jonathan-Rosenberg left a comment

Choose a reason for hiding this comment

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

LGTM

@nopcoder nopcoder merged commit bf964ef into master Sep 19, 2023
@nopcoder nopcoder deleted the chore/lakectl-endpoint branch September 19, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/lakectl Issues related to lakeFS' command line interface (lakectl) include-changelog PR description should be included in next release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lakectl endpoint configuration without path level version
2 participants