Skip to content

Commit

Permalink
llb: don't allow content diff for now
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
  • Loading branch information
tonistiigi committed Jun 12, 2021
1 parent baa4fcd commit a7b155e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion client/llb/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ type DiffType string

const DiffNone DiffType = pb.AttrLocalDifferNone
const DiffMetadata DiffType = pb.AttrLocalDifferMetadata
const DiffContent DiffType = pb.AttrLocalDifferContent

type DifferInfo struct {
Type DiffType
Expand Down
1 change: 0 additions & 1 deletion solver/pb/attr.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ const AttrImageRecordType = "image.recordtype"
const AttrLocalDiffer = "local.differ"
const AttrLocalDifferNone = "none"
const AttrLocalDifferMetadata = "metadata"
const AttrLocalDifferContent = "content"

type IsFileAction = isFileAction_Action
2 changes: 0 additions & 2 deletions source/identifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ func FromLLB(op *pb.Op_Source, platform *pb.Platform) (Identifier, error) {
id.Differ = fsutil.DiffMetadata
case pb.AttrLocalDifferNone:
id.Differ = fsutil.DiffNone
case pb.AttrLocalDifferContent:
id.Differ = fsutil.DiffContent
}
}
}
Expand Down

0 comments on commit a7b155e

Please sign in to comment.