Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peersLogIf (0.05 sec)

  1. cmd/logging.go

    	logger.LogIf(ctx, "authN", err, errKind...)
    }
    
    func authZLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "authZ", err, errKind...)
    }
    
    func peersLogIf(ctx context.Context, err error, errKind ...any) {
    	if !errors.Is(err, grid.ErrDisconnected) {
    		logger.LogIf(ctx, "peers", err, errKind...)
    	}
    }
    
    func peersLogAlwaysIf(ctx context.Context, err error, errKind ...any) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    			case disk.Total == 0:
    				errs = append(errs, fmt.Errorf("disk %s: total is zero", disk.Endpoint))
    			}
    		}
    		// Log disk errors.
    		peersLogIf(context.Background(), errors.Join(errs...))
    		return false, fmt.Errorf("not enough online disks to calculate the available space, need %d, found %d", (len(di)/2)+1, nDisks)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top