Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions specs-go/v1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

package v1

import "time"
import (
"time"

digest "github.com/opencontainers/go-digest"
)

// ImageConfig defines the execution parameters which should be used as a base when running a container using an image.
type ImageConfig struct {
Expand Down Expand Up @@ -52,7 +56,7 @@ type RootFS struct {
Type string `json:"type"`

// DiffIDs is an array of layer content hashes (DiffIDs), in order from bottom-most to top-most.
DiffIDs []string `json:"diff_ids"`
DiffIDs []digest.Digest `json:"diff_ids"`
}

// History describes the history of a layer.
Expand Down