Skip to content

Commit

Permalink
fix os endpoint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nowinkeyy committed Nov 28, 2023
1 parent b15d62f commit 1ad8142
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ func (r *ObjectStorageUserReconciler) initObjectStorageUser(user *objectstoragev
updated = true
}

if user.Status.Internal == r.InternalEndpoint {
if user.Status.Internal != r.InternalEndpoint {
user.Status.Internal = r.InternalEndpoint
updated = true
}

if user.Status.External == r.ExternalEndpoint {
if user.Status.External != r.ExternalEndpoint {
user.Status.External = r.ExternalEndpoint
updated = true
}
Expand Down

0 comments on commit 1ad8142

Please sign in to comment.