fix typo
This commit is contained in:
parent
ccb2e44e36
commit
31c8460116
@ -87,7 +87,7 @@ func FetchAndLoadBundles(ctx context.Context, bs blockstore.Blockstore, bar map[
|
|||||||
}
|
}
|
||||||
|
|
||||||
for av, bd := range bar {
|
for av, bd := range bar {
|
||||||
envvar := fmt.Sprintf("LOGUS_BUILTIN_ACTORS_V%d_BUNDLE", av)
|
envvar := fmt.Sprintf("LOTUS_BUILTIN_ACTORS_V%d_BUNDLE", av)
|
||||||
switch {
|
switch {
|
||||||
case os.Getenv(envvar) != "":
|
case os.Getenv(envvar) != "":
|
||||||
// this is a local bundle, specified by an env var to load from the filesystem
|
// this is a local bundle, specified by an env var to load from the filesystem
|
||||||
|
@ -67,7 +67,7 @@ func LoadBuiltinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRe
|
|||||||
}
|
}
|
||||||
|
|
||||||
// we haven't recorded it in the datastore, so we need to load it
|
// we haven't recorded it in the datastore, so we need to load it
|
||||||
envvar := fmt.Sprintf("LOGUS_BUILTIN_ACTORS_V%d_BUNDLE", av)
|
envvar := fmt.Sprintf("LOTUS_BUILTIN_ACTORS_V%d_BUNDLE", av)
|
||||||
var mfCid cid.Cid
|
var mfCid cid.Cid
|
||||||
switch {
|
switch {
|
||||||
case os.Getenv(envvar) != "":
|
case os.Getenv(envvar) != "":
|
||||||
|
Loading…
Reference in New Issue
Block a user