Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raaizik committed Mar 31, 2024
1 parent 1b474ae commit 6f1d082
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/storageconsumer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ type ClientStatus struct {
OperatorVersion string `json:"operatorVersion"`
// ClusterID is the id of the openshift cluster
ClusterID string `json:"clusterId"`
// NamespacedName is the name and namespace of the StorageClient
NamespacedName string `json:"namespacedName"`
// ClusterName is the name of the openshift cluster
ClusterName string `json:"clusterName"`
// NamespacedName is the name and namespace of the StorageClient
NamespacedName string `json:"namespacedName"`
}

//+kubebuilder:object:root=true
Expand Down
4 changes: 2 additions & 2 deletions services/provider/interfaces/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ type StorageClientStatus interface {
GetPlatformVersion() string
GetOperatorVersion() string
GetClusterID() string
GetNamespacedName() string
GetClusterName() string
GetNamespacedName() string

SetPlatformVersion(string) StorageClientStatus
SetOperatorVersion(string) StorageClientStatus
SetClusterID(string) StorageClientStatus
SetNamespacedName(string) StorageClientStatus
SetClusterName(string) StorageClientStatus
SetNamespacedName(string) StorageClientStatus
}

type StorageClientOnboarding interface {
Expand Down
24 changes: 12 additions & 12 deletions services/provider/pb/provider.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions services/provider/proto/provider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,11 @@ message ReportStatusRequest{
string clientOperatorVersion = 3;
// clusterID is the id of the openshift cluster
string clusterID = 4;
// NamespacedName is the name and namespace of the StorageClient
string NamespacedName = 5;
// clusterName is the name of the openshift cluster
string clusterName = 6;
string clusterName = 5;
// NamespacedName is the name and namespace of the StorageClient
string NamespacedName = 6;

}

message ReportStatusResponse{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f1d082

Please sign in to comment.