Skip to content

Commit

Permalink
fix_ isDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Oct 31, 2023
1 parent e4c1a78 commit a017420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fakeyou/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (f *Builder) Build() []string {


func (f *fakeyou) IsDebug() bool {
return f.configuration.IsDebug
return f.configuration.isDebug

Check failure on line 21 in fakeyou/builder.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

f.configuration.isDebug undefined (type *configuration.Configuration has no field or method isDebug)

Check failure on line 21 in fakeyou/builder.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

f.configuration.isDebug undefined (type *configuration.Configuration has no field or method isDebug)

Check failure on line 21 in fakeyou/builder.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

f.configuration.isDebug undefined (type *configuration.Configuration has no field or method isDebug)
}

// Resty Methods
Expand Down
2 changes: 1 addition & 1 deletion fakeyou/fakeyou.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewFakeYou(configuration *configuration.Configuration) IFakeYou {
fk.restClient = resty.New()
fk.restClient.SetBaseURL(routes.BASE_URL)
fk.restClient.SetHeader("Content-Type", "application/json")
if configuration.IsDebug {
if configuration.isDebug {

Check failure on line 35 in fakeyou/fakeyou.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

configuration.isDebug undefined (type *configuration.Configuration has no field or method isDebug)

Check failure on line 35 in fakeyou/fakeyou.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

configuration.isDebug undefined (type *configuration.Configuration has no field or method isDebug)

Check failure on line 35 in fakeyou/fakeyou.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

configuration.isDebug undefined (type *configuration.Configuration has no field or method isDebug)
fk.restClient.SetDebug(true)
}
return fk
Expand Down

0 comments on commit a017420

Please sign in to comment.