Skip to content

Commit 47d34da

Browse files
committed
go fmt.
1 parent 4d00cf9 commit 47d34da

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

codefresh/data_idps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func mapDataIdpToResource(idp cfclient.IDP, d *schema.ResourceData) error {
154154
//d.Set("redirectUrl", idp.RedirectUrl) // string `json:"redirectUrl,omitempty"`
155155
//d.Set("refreshTokenURL", idp.RefreshTokenURL) // string `json:"refreshTokenURL,omitempty"`
156156
d.Set("scopes", datautil.FlattenStringArr(idp.Scopes)) // []string `json:"scopes,omitempty"`
157-
d.Set("tenant", idp.Tenant) // string `json:"tenant,omitempty"`
157+
d.Set("tenant", idp.Tenant) // string `json:"tenant,omitempty"`
158158
//d.Set("tokenSecret", idp.TokenSecret) // string `json:"tokenSecret,omitempty"`
159159
//d.Set("tokenURL", idp.TokenURL) // string `json:"tokenURL,omitempty"`
160160
//d.Set("userProfileURL", idp.UserProfileURL) // string `json:"userProfileURL,omitempty"`

codefresh/internal/schemautil/normalize.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ func NormalizeYamlString(yamlString interface{}) (string, error) {
4747
return string(bytes[:]), nil
4848
}
4949

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

0 commit comments

Comments
 (0)