Uploaded image for project: 'Couchbase Monitoring and Observability Stack'
  1. Couchbase Monitoring and Observability Stack
  2. CMOS-184

Raw format string specifier in output of serviceStatus checker

    XMLWordPrintable

Details

    Description

      Currently the output of the serviceStatus checker is something like:

      Could not connect to services %v, please check that the required ports areavailable and that they are not been blocked a firewall.

      The %v is likely there because there should be a call to fmt.Sprintf around that string. The code that forms its output is:

      nodeRes.Result.Remediation = "Could not connect to services %v, please check that the required ports are" +
         "available and that they are not been blocked a firewall." 

      This should probably be something like

      nodeRes.Result.Remediation = fmt.Sprintf("Could not connect to services %v...", failedServices)

      Attachments

        For Gerrit Dashboard: CMOS-184
        # Subject Branch Project Status CR V

        Activity

          People

            charlie.hayes Charlie Hayes
            marks.polakovs Marks Polakovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty