File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,11 @@ func main() {
136136 assertNoError (features .Set (os .Getenv ("PGO_FEATURE_GATES" )))
137137
138138 ctx = feature .NewContext (ctx , features )
139- // This logs just the feature gates as set by the user
140- log .Info ("feature gates set during deployment" , "PGO_FEATURE_GATES" , feature .ShowAssigned (ctx ))
141- // This logs the feature gates that are enabled, including gates that are on by default
142- log .Info (fmt .Sprintf ("feature gates enabled: %s" , feature .ShowEnabled (ctx )))
139+ log .Info ("feature gates" ,
140+ // These are set by the user
141+ "PGO_FEATURE_GATES" , feature .ShowAssigned (ctx ),
142+ // These are enabled, including features that are on by default
143+ "enabled" , feature .ShowEnabled (ctx ))
143144
144145 cfg , err := runtime .GetConfig ()
145146 assertNoError (err )
You can’t perform that action at this time.
0 commit comments