diff --git a/controllers/vulnerabilityreport/vulnerabilityreport_controller.go b/controllers/vulnerabilityreport/vulnerabilityreport_controller.go index 055500e3..6d5bfb72 100644 --- a/controllers/vulnerabilityreport/vulnerabilityreport_controller.go +++ b/controllers/vulnerabilityreport/vulnerabilityreport_controller.go @@ -41,7 +41,6 @@ import ( const ( VulnerabilityReportFinalizer = "starboard-exporter.giantswarm.io/vulnerabilityreport" TestNonASCIIString = "💩" - 國語 = "A test non-ascii identifier." ) var registerMetricsOnce sync.Once @@ -125,7 +124,7 @@ func (r *VulnerabilityReportReconciler) Reconcile(ctx context.Context, req ctrl. func (r *VulnerabilityReportReconciler) registerMetrics() { - r.Log.Info(fmt.Sprintf("1: %s\n2: %s", TestNonASCIIString, 國語)) + r.Log.Info(fmt.Sprintf("1: %s", TestNonASCIIString)) VulnerabilityInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ diff --git a/controllers/key.go "b/controllers/\345\234\213\350\252\236.go" similarity index 100% rename from controllers/key.go rename to "controllers/\345\234\213\350\252\236.go"