Skip to content

Commit 38bf061

Browse files
committed
Remove superfluous type casting
1 parent f9321bc commit 38bf061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/objects/swift.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (s *SwiftLocation) Validate(name string) []error {
9999
result = append(result, fmt.Errorf("missing value for %s.user_domain_name", name))
100100
}
101101
}
102-
if string(s.ApplicationCredentialSecret) == "" {
102+
if s.ApplicationCredentialSecret == "" {
103103
result = append(result, fmt.Errorf("missing value for %s.application_credential_secret", name))
104104
}
105105
} else {

0 commit comments

Comments
 (0)