Skip to content

Commit

Permalink
Remove non-ASCII identifier, add non-ASCII file name
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-z authored Nov 1, 2024
1 parent f9d943b commit 50973a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import (
const (
VulnerabilityReportFinalizer = "starboard-exporter.giantswarm.io/vulnerabilityreport"
TestNonASCIIString = "💩"
國語 = "A test non-ascii identifier."
)

var registerMetricsOnce sync.Once
Expand Down Expand Up @@ -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{
Expand Down
File renamed without changes.

0 comments on commit 50973a2

Please sign in to comment.