diff --git a/pkg/deployment/reconcile/action_set_license.go b/pkg/deployment/reconcile/action_set_license.go index 84495e7d2..1e2f8eeba 100644 --- a/pkg/deployment/reconcile/action_set_license.go +++ b/pkg/deployment/reconcile/action_set_license.go @@ -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. @@ -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 }