Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for new_labels (0.12 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    					}
    				}
    				if seLinuxFileLabel == "" {
    					seLinuxFileLabel = newLabel
    					continue
    				}
    				if seLinuxFileLabel != newLabel {
    					accessMode := getVolumeAccessMode(volumeSpec)
    
    					fullErr := fmt.Errorf("volume %s is used with two different SELinux contexts in the same pod: %q, %q", volumeSpec.Name(), seLinuxFileLabel, newLabel)
    					err := handleSELinuxMetricError(
    						fullErr,
    						seLinuxSupported,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    				continue
    			}
    		}
    
    		labels := make([]string, 0, len(metric.VariableLabels)*2)
    		for k, v := range metric.VariableLabels {
    			if newLabel, ok := renameLabels[k]; ok {
    				labels = append(labels, newLabel, v)
    			} else {
    				labels = append(labels, k, v)
    			}
    		}
    		labels = append(labels, extraLabels...)
    		// If valid non zero value set the metrics
    		if metric.Value > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/cmd/cover/cover.go

    				if label, isLabel := stmt.(*ast.LabeledStmt); isLabel && !f.isControl(label.Stmt) {
    					newLabel := *label
    					newLabel.Stmt = &ast.EmptyStmt{
    						Semicolon: label.Stmt.Pos(),
    						Implicit:  true,
    					}
    					end = label.Pos() // Previous block ends before the label.
    					list[last] = &newLabel
    					// Open a gap and drop in the old statement, now without a label.
    					list = append(list, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top