Skip to content

Commit

Permalink
Merge pull request ava-labs#396 from cgcardona/add-param-to-comment
Browse files Browse the repository at this point in the history
Update to `info.isBootstrapped`
  • Loading branch information
StephenButtolph committed Sep 13, 2020
2 parents 31712a3 + 45fa145 commit 66f1971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/info/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type IsBootstrappedResponse struct {
// IsBootstrapped returns nil and sets [reply.IsBootstrapped] == true iff [args.Chain] exists and is done bootstrapping
// Returns an error if the chain doesn't exist
func (service *Info) IsBootstrapped(_ *http.Request, args *IsBootstrappedArgs, reply *IsBootstrappedResponse) error {
service.log.Info("Info: IsBootstrapped called")
service.log.Info("Info: IsBootstrapped called with chain: %s", args.Chain)
if args.Chain == "" {
return fmt.Errorf("argument 'chain' not given")
}
Expand Down

0 comments on commit 66f1971

Please sign in to comment.