feat: update backup to support InfluxDB 2.0.x (#184)

This commit is contained in:
Daniel Moran
2021-07-09 12:51:53 -04:00
committed by GitHub
parent 9b54bcb17f
commit 95f190bf64
5 changed files with 211 additions and 15 deletions

View File

@ -39,7 +39,7 @@ const ManifestExtension = "manifest"
type Manifest struct {
KV ManifestFileEntry `json:"kv"`
SQL ManifestFileEntry `json:"sql"`
SQL *ManifestFileEntry `json:"sql,omitempty"`
Buckets []ManifestBucketEntry `json:"buckets"`
}