sandbox: merge address and protocol to one url
Signed-off-by: Abel Feng <fshb1988@gmail.com>
This commit is contained in:
@@ -118,7 +118,6 @@ type ControllerInstance struct {
|
||||
Pid uint32
|
||||
CreatedAt time.Time
|
||||
Address string
|
||||
Protocol string
|
||||
Version uint32
|
||||
Labels map[string]string
|
||||
}
|
||||
@@ -137,6 +136,5 @@ type ControllerStatus struct {
|
||||
ExitedAt time.Time
|
||||
Extra typeurl.Any
|
||||
Address string
|
||||
Protocol string
|
||||
Version uint32
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user