Skip to content

Commit

Permalink
gofmt fix
Browse files Browse the repository at this point in the history
Signed-off-by: Dao Thanh Tung <[email protected]>
  • Loading branch information
dttung2905 committed Apr 5, 2024
1 parent 70f0cd3 commit 466f0ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/scalers/scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,28 @@ type configOptions struct {
// UseMetadata is an Option function that sets the useMetadata field of configOptions.
func UseMetadata() Option {
return func(opt *configOptions) {
opt.useMetadata = true
opt.useMetadata = true
}
}

// UseAuthentication is an Option function that sets the useAuthentication field of configOptions.
func UseAuthentication() Option {
return func(opt *configOptions) {
opt.useAuthentication = true
opt.useAuthentication = true
}
}

// UseResolvedEnv is an Option function that sets the useResolvedEnv field of configOptions.
func UseResolvedEnv() Option {
return func(opt *configOptions) {
opt.useResolvedEnv = true
opt.useResolvedEnv = true
}
}

// IsOptional is an Option function that sets the isOptional field of configOptions.
func IsOptional() Option {
return func(opt *configOptions) {
opt.isOptional = true
opt.isOptional = true
}
}

Expand Down

0 comments on commit 466f0ed

Please sign in to comment.