From 781f110489dddc9e7121c7b8eb876e1181fa32f5 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Sun, 31 May 2020 21:29:17 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com> --- command/operator_snapshot_save.go | 2 +- helper/snapshot/snapshot.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/operator_snapshot_save.go b/command/operator_snapshot_save.go index 2d8099ef1..b3cf94ab2 100644 --- a/command/operator_snapshot_save.go +++ b/command/operator_snapshot_save.go @@ -27,7 +27,7 @@ Usage: nomad operator snapshot save [options] To create a snapshot from the leader server and save it to "backup.snap": - $ consul snapshot save backup.snap + $ nomad snapshot save backup.snap To create a potentially stale snapshot from any available server (useful if no leader is available): diff --git a/helper/snapshot/snapshot.go b/helper/snapshot/snapshot.go index 055bedd42..ef04a66f1 100644 --- a/helper/snapshot/snapshot.go +++ b/helper/snapshot/snapshot.go @@ -1,4 +1,4 @@ -// snapshot manages the interactions between Consul and Raft in order to take +// snapshot manages the interactions between Nomad and Raft in order to take // and restore snapshots for disaster recovery. The internal format of a // snapshot is simply a tar file, as described in archive.go. package snapshot