Skip to content

Commit

Permalink
Fix json serializer tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
I308301 committed May 7, 2019
1 parent 90bdf0c commit 27392ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0-dev
0.1.1-dev
4 changes: 2 additions & 2 deletions hack/config_selector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace: <NAMESPACE>
labels:
"app" : "etcd-statefulset"
"role" : "main"
dependantpods:
dependantPods:
- name: controlplane
selector:
matchExpressions:
Expand All @@ -14,4 +14,4 @@ dependantpods:
- key: role
operator: NotIn
values:
- main
- main
2 changes: 1 addition & 1 deletion pkg/restarter/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type ServiceDependants struct {
Service string `json:"service"`
Labels map[string]string `json:"labels"`
Namespace string `json:"namespace"`
Dependants []dependantPods `json:"dependantpods"`
Dependants []dependantPods `json:"dependantPods"`
}

type dependantPods struct {
Expand Down

0 comments on commit 27392ef

Please sign in to comment.