From 1c1d3c9dcf125a20146114e2d133e4a30069b2b9 Mon Sep 17 00:00:00 2001 From: peter-evans Date: Fri, 7 Sep 2018 09:10:08 +0900 Subject: [PATCH] Return empty array indicating volume filesystem shouldn't be snapshot --- pkg/commands/volume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/volume.go b/pkg/commands/volume.go index ceb245116b..293e61ff40 100644 --- a/pkg/commands/volume.go +++ b/pkg/commands/volume.go @@ -69,7 +69,7 @@ func (v *VolumeCommand) ExecuteCommand(config *v1.Config, buildArgs *dockerfile. } func (v *VolumeCommand) FilesToSnapshot() []string { - return v.snapshotFiles + return []string{} } func (v *VolumeCommand) CreatedBy() string {