Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toAdminAPIErrCode (0.09 sec)

  1. cmd/admin-heal-ops.go

    	if !exists {
    		// heal sequence doesn't exist, must have finished.
    		jbytes, err := json.Marshal(healSequenceStatus{
    			Summary: healFinishedStatus,
    		})
    		return jbytes, toAdminAPIErrCode(GlobalContext, err)
    	}
    
    	// Check if client-token is valid
    	if clientToken != h.clientToken {
    		return nil, ErrHealInvalidClientToken
    	}
    
    	// Take lock to access and update the heal-sequence
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top