Skip to content

Commit 7447036

Browse files
Fix panic getting member client (#1424)
1 parent 63f8c04 commit 7447036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/deployment/reconcile/action_set_license.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// DISCLAIMER
33
//
4-
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
4+
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
55
//
66
// Licensed under the Apache License, Version 2.0 (the "License");
77
// you may not use this file except in compliance with the License.
@@ -68,7 +68,7 @@ func (a *actionLicenseSet) Start(ctx context.Context) (bool, error) {
6868
}
6969

7070
c, err := a.actionCtx.GetMembersState().GetMemberClient(m.ID)
71-
if !ok {
71+
if err != nil {
7272
a.log.Err(err).Error("Unable to get client")
7373
return true, nil
7474
}

0 commit comments

Comments
 (0)