Skip to content

Commit

Permalink
go fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
korenyoni committed Oct 16, 2023
1 parent 4d00cf9 commit 47d34da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion codefresh/data_idps.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func mapDataIdpToResource(idp cfclient.IDP, d *schema.ResourceData) error {
//d.Set("redirectUrl", idp.RedirectUrl) // string `json:"redirectUrl,omitempty"`
//d.Set("refreshTokenURL", idp.RefreshTokenURL) // string `json:"refreshTokenURL,omitempty"`
d.Set("scopes", datautil.FlattenStringArr(idp.Scopes)) // []string `json:"scopes,omitempty"`
d.Set("tenant", idp.Tenant) // string `json:"tenant,omitempty"`
d.Set("tenant", idp.Tenant) // string `json:"tenant,omitempty"`
//d.Set("tokenSecret", idp.TokenSecret) // string `json:"tokenSecret,omitempty"`
//d.Set("tokenURL", idp.TokenURL) // string `json:"tokenURL,omitempty"`
//d.Set("userProfileURL", idp.UserProfileURL) // string `json:"userProfileURL,omitempty"`
Expand Down
1 change: 0 additions & 1 deletion codefresh/internal/schemautil/normalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func NormalizeYamlString(yamlString interface{}) (string, error) {
return string(bytes[:]), nil
}


// MustNormalizeYamlString is the same as NormalizeYamlString, but will log an error (legacy logging) instead of returning it.
func MustNormalizeYamlString(yamlString interface{}) string {
normalizedYamlString, err := NormalizeYamlString(yamlString)
Expand Down

0 comments on commit 47d34da

Please sign in to comment.