Change SearchBaseFound condition success reason to be a string constant
This commit is contained in:
parent
53b58f65b2
commit
287a5d225a
@ -128,7 +128,7 @@ func (s *activeDirectoryUpstreamGenericLDAPSpec) DetectAndSetSearchBase(ctx cont
|
|||||||
return &v1alpha1.Condition{
|
return &v1alpha1.Condition{
|
||||||
Type: upstreamwatchers.TypeSearchBaseFound,
|
Type: upstreamwatchers.TypeSearchBaseFound,
|
||||||
Status: v1alpha1.ConditionTrue,
|
Status: v1alpha1.ConditionTrue,
|
||||||
Reason: "Success",
|
Reason: upstreamwatchers.ReasonSuccess,
|
||||||
Message: "Successfully fetched defaultNamingContext to use as default search base from RootDSE.",
|
Message: "Successfully fetched defaultNamingContext to use as default search base from RootDSE.",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user