Skip to content

Commit

Permalink
Fix panic getting member client (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-vanyasin authored Sep 28, 2023
1 parent 63f8c04 commit 7447036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/deployment/reconcile/action_set_license.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// DISCLAIMER
//
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -68,7 +68,7 @@ func (a *actionLicenseSet) Start(ctx context.Context) (bool, error) {
}

c, err := a.actionCtx.GetMembersState().GetMemberClient(m.ID)
if !ok {
if err != nil {
a.log.Err(err).Error("Unable to get client")
return true, nil
}
Expand Down

0 comments on commit 7447036

Please sign in to comment.