cisco-nxos-provider: refactor SNMP configuration
#258
Annotations
9 errors
|
Checks
Process completed with exit code 123.
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L517
unknown field ACL in struct literal of type snmp.Community (typecheck)
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L514
cannot use &snmp.Community{…} (value of type *snmp.Community) as snmp.Community value in assignment
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L506
cannot use h.Type (variable of type string) as snmp.MessageType value in struct literal
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L504
cannot use &snmp.Host{…} (value of type *snmp.Host) as snmp.Host value in assignment
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L487
cannot use make([]*snmp.Community, len(step.Spec.Communities)) (value of type []*snmp.Community) as []snmp.Community value in struct literal
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L486
cannot use make([]*snmp.Host, len(step.Spec.Destinations)) (value of type []*snmp.Host) as []snmp.Host value in struct literal
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L482
unknown field Enable in struct literal of type snmp.SNMP
|
|
Checks:
internal/provider/cisco/nxos/provider.go#L479
unknown field Enable in struct literal of type snmp.SNMP
|