Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for subnetLogIf (0.17 sec)

  1. cmd/license-update.go

    	// if required e.g. when it is expiring soon
    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    	if r.Index == 0 {
    		internalLogIf(ctx, fmt.Errorf("license not found in response from %s", url))
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/logging.go

    	logger.LogIf(ctx, "etcd", err, errKind...)
    }
    
    func etcdLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "etcd", err, id, errKind...)
    }
    
    func subnetLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "subnet", err, errKind...)
    }
    
    func metricsLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top