server/sandbox: return id after creation
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
569183030f
commit
97f5f809a4
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ func (s *Server) CreatePodSandbox(ctx context.Context, req *pb.CreatePodSandboxR
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return &pb.CreatePodSandboxResponse{PodSandboxId: &name}, nil
|
return &pb.CreatePodSandboxResponse{PodSandboxId: &id}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// StopPodSandbox stops the sandbox. If there are any running containers in the
|
// StopPodSandbox stops the sandbox. If there are any running containers in the
|
||||||
|
|
Loading…
Reference in a new issue