From d7f217191456ed9d6106f918d6a921aac7f5b09e Mon Sep 17 00:00:00 2001 From: Pascal Holthaus Date: Tue, 23 Apr 2024 12:09:36 +0200 Subject: [PATCH] Change: Check for user and password on user auth --- oci-info/action/oci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci-info/action/oci.py b/oci-info/action/oci.py index b22f5149..c9f03b92 100644 --- a/oci-info/action/oci.py +++ b/oci-info/action/oci.py @@ -77,7 +77,7 @@ def __init__( headers={"accept": ",".join([h.value for h in OciMediaTypes])}, ) - self.user_auth = (user, password) if user else None + self.user_auth = (user, password) if user and password else None self.reg_domain = reg_domain self.reg_auth_domain = reg_auth_domain self.reg_auth_service = reg_auth_service