sandbox: merge address and protocol to one url

Signed-off-by: Abel Feng <fshb1988@gmail.com>
This commit is contained in:
Abel Feng
2024-04-23 14:28:01 +08:00
parent c3b306240e
commit de38490ed6
19 changed files with 281 additions and 333 deletions

View File

@@ -74,7 +74,6 @@ func (s *remoteSandboxController) Start(ctx context.Context, sandboxID string) (
CreatedAt: resp.GetCreatedAt().AsTime(),
Labels: resp.GetLabels(),
Address: resp.GetAddress(),
Protocol: resp.GetProtocol(),
Version: resp.GetVersion(),
}, nil
}
@@ -145,7 +144,6 @@ func (s *remoteSandboxController) Status(ctx context.Context, sandboxID string,
ExitedAt: resp.GetExitedAt().AsTime(),
Extra: resp.GetExtra(),
Address: resp.GetAddress(),
Protocol: resp.GetProtocol(),
Version: resp.GetVersion(),
}, nil
}