Skip to content

Commit

Permalink
Merge pull request opencontainers#617 from stevvooe/correct-field-type
Browse files Browse the repository at this point in the history
specs-go/v1: use correct field type for diff ids
  • Loading branch information
stevvooe authored Mar 22, 2017
2 parents 28d37d4 + d858089 commit bfc49af
Showing 1 changed file with 6 additions and 2 deletions.
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

0 comments on commit bfc49af

Please sign in to comment.