renamed api config

This commit is contained in:
Andrew Jackson (Ajax)
2023-10-19 18:19:42 -05:00
parent 6695a2d936
commit 5b5ae80e30
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ func GetRawAPIMultiV2(ctx *cli.Context, ainfoCfg []string, version string) ([]Ht
var httpHeads []HttpHead
if len(ainfoCfg) == 0 {
return httpHeads, xerrors.Errorf("could not get API info: none configured. \nConsider getting base.toml with './lotus-provider config get base' \nthen adding \n[APIs] \ndaemon = [\"lotusdaemon:1234\"]\n and updating it with './lotus-provider config set base.toml'")
return httpHeads, xerrors.Errorf("could not get API info: none configured. \nConsider getting base.toml with './lotus-provider config get base >base.toml' \nthen adding \n[APIs] \n FULLNODE_API_INFO = [\" result_from lotus auth api-info --perm=admin \"]\n and updating it with './lotus-provider config set base.toml'")
}
for _, i := range ainfoCfg {
ainfo := ParseApiInfo(i)