Skip to content

nerdbox doesn't work on containerd 2.2.5 and containerd 2.3.x #230

Description

@ningmingxiao

may be we should this pr
containerd/containerd@3c0e8a5

use json.Unmarshal now it doesn't work now

func parseStartResponse(response []byte) (client.BootstrapParams, error) {
	var params client.BootstrapParams

	if err := json.Unmarshal(response, &params); err != nil || params.Version < 2 {
		// Use TTRPC for legacy shims
		params.Address = string(response)
		params.Protocol = "ttrpc"
		params.Version = 2
	}

@dmcgowan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions