Closed rewantsoni closed 3 weeks ago
I faced storagecluster UID error while testing the PR 2827. The PR 2827 can be tested after this PR is merged.
@rewantsoni You are in the context of handling the message, please follow the proper way to write into the response stream (w.WriteHeader), and use a proper HTTP response code @nb-ohad http.Error is a helper function that sets the error code on the header and sets the response. See here
@rewantsoni You are in the context of handling the message, please follow the proper way to write into the response stream (w.WriteHeader), and use a proper HTTP response code @nb-ohad http.Error is a helper function that sets the error code on the header and sets the response. See here
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nb-ohad, rewantsoni
The full list of commands accepted by this bot can be found here.
The pull request process is described here
onboarding ticket should contain the storageCluster UID the token was generated for and to fetch the storageCluster for UID, we fetch the storage Cluster from operator namespace