Skip to content

Commit

Permalink
Stop tracking the local path to the logo in state.
Browse files Browse the repository at this point in the history
Fixes okta#1036 by not tracking the logo path in the state and just tracking the hash.
  • Loading branch information
bobtfish committed Mar 29, 2022
1 parent ac62cff commit d35e2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions okta/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ var (
StateFunc: func(val interface{}) string {
logoPath := val.(string)
if logoPath == "" {
return logoPath
return ""
}
return fmt.Sprintf("%s (%s)", logoPath, computeFileHash(logoPath))
return computeFileHash(logoPath)
},
},
"logo_url": {
Expand Down

0 comments on commit d35e2c7

Please sign in to comment.