We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bdbee6 commit a682223Copy full SHA for a682223
pkg/apis/arangodb/v1alpha/deployment_status.go
@@ -196,7 +196,7 @@ func (l MemberStatusList) ContainsID(id string) bool {
196
}
197
198
// ElementByPodName returns the element in the given list that has the given pod name and true.
199
-// If no such element exists, false is returned.
+// If no such element exists, an empty element and false is returned.
200
func (l MemberStatusList) ElementByPodName(podName string) (MemberStatus, bool) {
201
for i, x := range l {
202
if x.PodName == podName {
0 commit comments