apps: Regenerate VDL, due to go/vcl/8494
Change-Id: I792534ad485e6363a76c95d69b3572bfd5bf93e7
MultiPart: 2/8
diff --git a/rps/service.vdl b/rps/service.vdl
index 464c38e..aff2dc5 100644
--- a/rps/service.vdl
+++ b/rps/service.vdl
@@ -28,9 +28,9 @@
type Judge interface {
// CreateGame creates a new game with the given game options and returns a game
// identifier that can be used by the players to join the game.
- CreateGame(Opts GameOptions) (GameID, error) {access.Admin}
+ CreateGame(Opts GameOptions) (GameID | error) {access.Admin}
// Play lets a player join an existing game and play.
- Play(ID GameID) stream<PlayerAction,JudgeAction> (PlayResult, error) {access.Admin}
+ Play(ID GameID) stream<PlayerAction,JudgeAction> (PlayResult | error) {access.Admin}
}
// A GameID is used to uniquely identify a game within one Judge.
diff --git a/tunnel/tunnel.vdl b/tunnel/tunnel.vdl
index 1436b67..c5ec33f 100644
--- a/tunnel/tunnel.vdl
+++ b/tunnel/tunnel.vdl
@@ -16,7 +16,7 @@
// shell's stdin, and the data received from the shell's stdout and stderr is
// sent back in the reply stream. It returns the exit status of the shell
// command.
- Shell(command string, shellOpts ShellOpts) stream<ClientShellPacket, ServerShellPacket> (int32, error) {access.Admin}
+ Shell(command string, shellOpts ShellOpts) stream<ClientShellPacket, ServerShellPacket> (int32 | error) {access.Admin}
}
type ShellOpts struct {