go-ipfs-config: Fix comment
gammazero committed
Apr 20, 2021 at 00:29 UTC
dbb5fa78a59e09addf7368eff6aaefbbbf08c741
1 file changed
+3
-3
config/migration.go
+3
-3
@@ -9,9 +9,9 @@ var DefaultMigrationDownloadSources = []string{"HTTPS", "IPFS"}
9
// Migration configures how migrations are downloaded and if the downloads are
10
// added to IPFS locally
11
type Migration struct {
12
- // Sources in order of preference where "HTTPS" means our gateways and
13
- // "IPFS" means over IPFS. Any other values are interpretes as hostnames
14
- // for custom gateways. An empty list means "do the default thing"
12
+ // Sources in order of preference, where "IPFS" means use IPFS and "HTTPS"
13
+ // means use default gateways. Any other values are interpreted as
14
+ // hostnames for custom gateways. Empty list means "use default sources".
15
DownloadSources []string
16
// Whether or not to keep the migration after downloading it.
17
// Options are "discard", "cache", "pin". Empty string for default.