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

E-1654: fix: only add key when not exist in db. #159

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

Yhlong00
Copy link
Contributor

@Yhlong00 Yhlong00 commented Sep 8, 2024

E-1654: Only Add Key If It Doesn’t Already Exist in the Database

Description

Currently, running runpodctl config --apiKey xxx creates a new key and appends it to the pubKey field each time.

Change: Modify the behavior so that a key is only created if it doesn’t already exist in the database.

How do I test it?

Build package locally and run command config --apiKey xxx

@Yhlong00 Yhlong00 added the bug Something isn't working label Sep 8, 2024
@Yhlong00 Yhlong00 self-assigned this Sep 8, 2024
Copy link
Collaborator

@DireLines DireLines left a comment

Choose a reason for hiding this comment

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

tested all the new paths. works in all cases

@DireLines DireLines merged commit ae0a532 into runpod:main Sep 9, 2024
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.

2 participants