Skip to content

log warning if local items have conflicting names

Codecov / codecov/patch succeeded Jan 10, 2025 in 1s

1.72% of diff hit (target 0.00%)

View this Pull Request on Codecov

1.72% of diff hit (target 0.00%)

Annotations

Check warning on line 66 in cmd/crowdsec-cli/clihub/items.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/crowdsec-cli/clihub/items.go#L66

Added line #L66 was not covered by tests

Check warning on line 54 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L54

Added line #L54 was not covered by tests

Check warning on line 67 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L64-L67

Added lines #L64 - L67 were not covered by tests

Check warning on line 69 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L69

Added line #L69 was not covered by tests

Check warning on line 95 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L89-L95

Added lines #L89 - L95 were not covered by tests

Check warning on line 101 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L97-L101

Added lines #L97 - L101 were not covered by tests

Check warning on line 105 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L103-L105

Added lines #L103 - L105 were not covered by tests

Check warning on line 109 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L107-L109

Added lines #L107 - L109 were not covered by tests

Check warning on line 114 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L112-L114

Added lines #L112 - L114 were not covered by tests

Check warning on line 124 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L117-L124

Added lines #L117 - L124 were not covered by tests

Check warning on line 126 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L126

Added line #L126 was not covered by tests

Check warning on line 130 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L129-L130

Added lines #L129 - L130 were not covered by tests

Check warning on line 135 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L132-L135

Added lines #L132 - L135 were not covered by tests

Check warning on line 139 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L137-L139

Added lines #L137 - L139 were not covered by tests

Check warning on line 145 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L143-L145

Added lines #L143 - L145 were not covered by tests

Check warning on line 150 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L147-L150

Added lines #L147 - L150 were not covered by tests

Check warning on line 159 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L152-L159

Added lines #L152 - L159 were not covered by tests

Check warning on line 161 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L161

Added line #L161 was not covered by tests

Check warning on line 168 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L164-L168

Added lines #L164 - L168 were not covered by tests

Check warning on line 178 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L170-L178

Added lines #L170 - L178 were not covered by tests

Check warning on line 182 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L182

Added line #L182 was not covered by tests

Check warning on line 193 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L188-L193

Added lines #L188 - L193 were not covered by tests

Check warning on line 198 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L195-L198

Added lines #L195 - L198 were not covered by tests

Check warning on line 202 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L200-L202

Added lines #L200 - L202 were not covered by tests

Check warning on line 229 in pkg/cwhub/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cwhub/sync.go#L229

Added line #L229 was not covered by tests