Skip to content

Commit

Permalink
🐛 Do not set provider ids for MS365 root assets.
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <[email protected]>
  • Loading branch information
preslavgerchev committed Feb 17, 2024
1 parent 590fd53 commit 7ed21eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion providers/ms365/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallba
}

func (s *Service) detect(asset *inventory.Asset, conn *connection.Ms365Connection) error {
asset.PlatformIds = append(asset.PlatformIds, conn.PlatformId())
asset.Platform = &inventory.Platform{
Name: "ms365",
Runtime: "ms365",
Expand Down

0 comments on commit 7ed21eb

Please sign in to comment.