Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-6123

JSON output in rest API is reporting true/false for auto_failover as string

    XMLWordPrintable

Details

    • MXS-SPRINT-263

    Description

      Easy to reproduce. See it here:

      root@mx:~$ maxctrl --version
      25.01.5
      root@mx:~$ curl -s -u admin:mariadb http://155.138.214.156:8989/v1/monitors | grep auto_re
                          "auto_rejoin": false,
      root@mx:~$ curl -s -u admin:mariadb http://155.138.214.156:8989/v1/monitors | grep auto_fa
                          "auto_failover": "false",
      

      The correct format is without the quotes. Previous versions have no quotes.

      Attachments

        Activity

          People

            esa.korhonen Esa Korhonen
            edward Edward Stoever
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2d
                2d
                Remaining:
                0d
                Logged:
                Time Not Required
                Not Specified

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.