Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
we are even more picky on the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
metskem committed Oct 31, 2024
1 parent 712a610 commit 16f8f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type CacheEntry struct {

func InitCFClient() {
var err error
if conf.CfConfig, err = config.New(conf.CfApiURL, config.ClientCredentials(conf.ClientId, conf.ClientSecret), config.SkipTLSValidation(), config.UserAgent(fmt.Sprintf("npsb/%s", conf.VERSION))); err != nil {
if conf.CfConfig, err = config.New(conf.CfApiURL, config.ClientCredentials(conf.ClientId, conf.ClientSecret), config.SkipTLSValidation(), config.UserAgent(fmt.Sprintf("npsb/%s", conf.GetVersion()))); err != nil {
log.Fatalf("failed to create new config: %s", err)
}
if conf.CfClient, err = client.New(conf.CfConfig); err != nil {
Expand Down

0 comments on commit 16f8f1f

Please sign in to comment.