Skip to content

Commit 5751998

Browse files
committed
Migrating flags off main.go to a separate package
1 parent 3e9d11b commit 5751998

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster-autoscaler/config/flags/flags.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ var (
221221

222222
var autoscalingOptions *config.AutoscalingOptions
223223

224+
// AutoscalingOptions returns the singleton instance of AutoscalingOptions, initializing it if necessary.
224225
func AutoscalingOptions() config.AutoscalingOptions {
225226
if autoscalingOptions == nil {
226227
newAutoscalingOptions := createAutoscalingOptions()

0 commit comments

Comments
 (0)