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

feat: replace IsCreated with Exists for Client interface from package docker #558

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

zhyon404
Copy link
Contributor

@zhyon404 zhyon404 commented Jul 6, 2022

fix #478

@gaocegege gaocegege requested a review from hezhizhen July 6, 2022 06:48
… docker

Signed-off-by: zhyon404 <zhyong4@gmail.com>
@gaocegege
Copy link
Member

Thanks for your contribution! 🎉 👍

@gaocegege
Copy link
Member

This PR fixes #478

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

LGTM 👍
/lgtm

@gaocegege gaocegege merged commit 707d5e8 into tensorchord:main Jul 6, 2022
@gaocegege
Copy link
Member

@all-contributors Please add @zhyon404 for code contribution.

@allcontributors
Copy link
Contributor

@gaocegege

I've put up a pull request to add @zhyon404! 🎉

@@ -59,7 +59,7 @@ type Client interface {
StartBuildkitd(ctx context.Context, tag, name, mirror string) (string, error)

IsRunning(ctx context.Context, name string) (bool, error)
IsCreated(ctx context.Context, name string) (bool, error)
Copy link
Contributor

Choose a reason for hiding this comment

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

It's better to add a new method Exists and mark IsCreated deprecated.

Copy link
Member

Choose a reason for hiding this comment

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

We are still in alpha, thus I think it also works although we remove it directly.

There is no project that relies on us, currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

feat: replace IsCreated with Exists for Client interface from package docker
3 participants