Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PopHealStatusJSON (0.35 sec)

  1. cmd/admin-heal-ops.go

    		return nil, toAdminAPIErr(h.ctx, err), ""
    	}
    	return b, noError, ""
    }
    
    // PopHealStatusJSON - Called by heal-status API. It fetches the heal
    // status results from global state and returns its JSON
    // representation. The clientToken helps ensure there aren't
    // conflicting clients fetching status.
    func (ahs *allHealState) PopHealStatusJSON(hpath string,
    	clientToken string) ([]byte, APIErrorCode,
    ) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		}
    	}
    
    	if hip.clientToken != "" && !hip.forceStart && !hip.forceStop {
    		// Since clientToken is given, fetch heal status from running
    		// heal sequence.
    		respBytes, errCode := globalAllHealState.PopHealStatusJSON(
    			healPath, hip.clientToken)
    		if errCode != ErrNone {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		} else {
    			writeSuccessResponseJSON(w, respBytes)
    		}
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top