Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
implements store in backup for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
mhausenblas committed Jan 3, 2017
1 parent 6e44854 commit 8f7a86d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ func backupCONSUL() bool {
// use the Consul API to visit each node and store
// the values in the local filesystem:
visitCONSUL("/", reapsimple)
// if lookupst(brf.StorageTarget) > 0 { // non-TTY, actual storage
// // create an archive file of the node's values:
// res := arch()
// // transfer to remote, if applicable:
// toremote(res)
// }
if lookupst(brf.StorageTarget) > 0 { // non-TTY, actual storage
// create an archive file of the node's values:
res := arch()
// transfer to remote, if applicable:
toremote(res)
}
return true
}

Expand Down

0 comments on commit 8f7a86d

Please sign in to comment.