Skip to content

Commit

Permalink
Fixup initialization of empty resoruces
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Feb 29, 2024
1 parent 214e2e7 commit 568a98d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public class ResourceManager {
public static synchronized ResourceManager getInstance() {
if (instance == null) {
instance = new ResourceManager();
instance.resourceTypes = new ResourceType[]{};
client = new KubeClient();
if (TestFrameEnv.CLIENT_TYPE.equals(TestFrameConstants.KUBERNETES_CLIENT)) {
kubeCmdClient = new Kubectl();
Expand Down

0 comments on commit 568a98d

Please sign in to comment.