Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for injectedTotal (0.15 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    		}
    		row.Cells = append(row.Cells, table.NewCell(wa.Reason))
    		return row
    	})
    	w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON")
    	injectedTotal := 0
    	for _, ws := range was {
    		if ws.Injected {
    			injectedTotal++
    		}
    		w.AddRow(ws)
    	}
    	w.Flush()
    	if injectedTotal > 1 {
    		fmt.Fprintf(writer, "ERROR: multiple webhooks will inject, which can lead to errors")
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top