syntax change.
diff --git a/snapshot.go b/snapshot.go
index 12ba513..588a477 100644
--- a/snapshot.go
+++ b/snapshot.go
@@ -301,10 +301,10 @@
// Bootstrap scope is a special case, that can occur only once. The tid is
// hardcoded to "bootstrap" to ensure there can be no clash of tid between
// bootstrap and subsequent data scopes.
- if isBoot == false {
- tid = r.Header.Get("Transicator-Snapshot-TXID")
- } else {
+ if isBoot {
tid = "bootstrap"
+ } else {
+ tid = r.Header.Get("Transicator-Snapshot-TXID")
}
// Decode the Snapshot server response
err = processSnapshotResponse(tid, r.Body, snapshot)