Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18840

incorrect comment in src/go/internal/agent/scheduler/task.go

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.6, 5.0.7, 5.0.8rc1, 5.2.2, 5.2.3, 5.2.4rc1, 5.4.0alpha1, 5.4 (plan)
    • Agent2 plugin (N)

      Steps to reproduce:

      1. cd src/go/internal/agent/scheduler/
      2. vimĀ  task.go

      Result:

      // stopperTask provides access to plugin Exporter interaface Start() method.
      type stopperTask struct

      { taskBase }

      ......

      // stopperTask provides access to plugin Watcher interaface.
      type watcherTask struct { taskBase requests []*plugin.Request client ClientAccessor }


      Expected:

      // stopperTask provides access to plugin Exporter interaface Stop() method.
      type stopperTask struct { taskBase }

      ......

      // watcherTask provides access to plugin Watcher interaface.
      type watcherTask struct

      { taskBase requests []*plugin.Request client ClientAccessor }

            zabbix.dev Zabbix Development Team
            sailer1205 yaoxingtao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: