mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
chore(proto): replace import path.
Signed-off-by: GiteaBot <teabot@gitea.io>
This commit is contained in:
parent
7d55fd57c9
commit
307c2c63de
6 changed files with 20 additions and 18 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue