chore(proto): replace import path.

Signed-off-by: GiteaBot <teabot@gitea.io>
This commit is contained in:
GiteaBot
2022-08-17 14:25:14 +08:00
committed by Jason Song
parent 7d55fd57c9
commit 307c2c63de
6 changed files with 20 additions and 18 deletions

View File

@ -3,7 +3,7 @@ package client
import (
"context"
v1 "gitea.com/gitea/proto/gen/proto/v1"
runnerv1 "gitea.com/gitea/proto-go/runner/v1"
)
// A Client manages communication with the runner.
@ -12,5 +12,5 @@ type Client interface {
Ping(ctx context.Context, machine string) error
// Request requests the next available build stage for execution.
Request(ctx context.Context) (*v1.Stage, error)
Request(ctx context.Context) (*runnerv1.Stage, error)
}