XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, HDFS-13891
    • None
    • None
    • Reviewed

    Description

      Currently, the getSafemode() bean checks the state of the Router but returns the error if the status is different than SAFEMODE:

        public String getSafemode() {
            if (!getRouter().isRouterState(RouterServiceState.SAFEMODE)) {
              return "Safe mode is ON. " + this.getSafeModeTip();
            }
          } catch (IOException e) {
            return "Failed to get safemode status. Please check router"
                + "log for more detail.";
          }
          return "";
        }
      

      The condition should be reversed.

      Attachments

        1. HDFS-14259-HDFS-13891.000.patch
          2 kB
          Ranith Sardar
        2. HDFS-14259-HDFS-13891.001.patch
          2 kB
          Ranith Sardar
        3. HDFS-14259-HDFS-13891.002.patch
          2 kB
          Ranith Sardar

        Issue Links

          Activity

            People

              RANith Ranith Sardar
              elgoiri Íñigo Goiri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: