Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnwrapHostErrors (0.1 sec)

  1. internal/kms/kms.go

    	stat := make(map[string]madmin.ItemState, len(c.endpoints))
    	resp, err := c.client.Version(ctx, &kms.VersionRequest{})
    
    	for _, r := range resp {
    		stat[r.Host] = madmin.ItemOnline
    	}
    	for _, e := range kms.UnwrapHostErrors(err) {
    		stat[e.Host] = madmin.ItemOffline
    	}
    	return stat, nil
    }
    
    func (c *kmsConn) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top