summaryrefslogtreecommitdiff
path: root/internal/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'internal/deploy')
-rw-r--r--internal/deploy/deploy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/deploy/deploy.go b/internal/deploy/deploy.go
index 30846ac..8d32613 100644
--- a/internal/deploy/deploy.go
+++ b/internal/deploy/deploy.go
@@ -113,7 +113,7 @@ func Run(ctx context.Context, out io.Writer, cfg layout.Config, app, sha string)
// as the other if it goes wrong, so both are guarded the same way. label
// is used only in the final error message (e.g. "deploy", "config change").
func GuardedApply(ctx context.Context, out io.Writer, cfg layout.Config, app, tag, label string, apply func() error) error {
- dataset := cfg.AppDataset(app)
+ dataset := cfg.AppDataDataset(app)
existing, err := zfsutil.Snapshots(ctx, dataset)
if err != nil {