Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GetPlatform called via gRPC does not force to update the indices #1529

Closed
Assignees
Labels
topic: codeRelated to content of the project itself topic: gRPCRelated to the gRPC interface type: enhancementProposed improvement
@4ntoine

Description

Bug Report

Current behavior

Call GetPlatform with all=true on a clean system does not force to update the indices.

Expected behavior

It forces the update (exactly as it's done if calling via command-line core list --all

Environment

  • CLI version (output of arduino-cli version): 0.19.2 commit 6a6f50ae
  • OS and platform: Alpine linux

Additional context

Looking into the source code i can't see any difference except missing instance.CreateAndInit() call.

In my case i do call create + init requests before requesting the subscriptions.

PS. Using custom data path in config file (not sure if it makes a difference)

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itself topic: gRPCRelated to the gRPC interface type: enhancementProposed improvement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /