Agent 2 build failure on Go 1.16

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.4
    • Component/s: Agent2 plugin (G)
    • Environment:
      Go 16.11

      During build, building plugin_userparameter.go fails with

      //go:build comment without // +build comment

      The problem is in src/go/pkg/zbxcmd/zbxcmd_nix.go, it contains

      //go:build !windows

      but no

      // +build !windows

            Assignee:
            Zabbix Development Team
            Reporter:
            Alexey Asemov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: