Change SearchBaseFound condition success reason to be a string constant

This commit is contained in:
Margo Crawford 2021-07-27 10:23:05 -07:00
parent 53b58f65b2
commit 287a5d225a

View File

@ -128,7 +128,7 @@ func (s *activeDirectoryUpstreamGenericLDAPSpec) DetectAndSetSearchBase(ctx cont
return &v1alpha1.Condition{
Type: upstreamwatchers.TypeSearchBaseFound,
Status: v1alpha1.ConditionTrue,
Reason: "Success",
Reason: upstreamwatchers.ReasonSuccess,
Message: "Successfully fetched defaultNamingContext to use as default search base from RootDSE.",
}
}