Skip to content

Commit

Permalink
update docs and release
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed committed May 21, 2019
1 parent b0284b6 commit e92b846
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ configurations in any way!
[![Go Report Card](https://goreportcard.com/badge/github.com/derailed/popeye?)](https://goreportcard.com/report/github.com/derailed/popeye)
[![Build Status](https://travis-ci.com/derailed/popeye.svg?branch=master)](https://travis-ci.com/derailed/popeye)
[![release](https://img.shields.io/github/release-pre/derailed/popeye.svg)](https://github.com/derailed/popeye/releases)
<!-- [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/popeye) -->
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/mum4k/termdash/blob/master/LICENSE)
<!-- [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/popeye) -->

---

Expand Down
2 changes: 1 addition & 1 deletion change_logs/release_v0.3.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Also if you dig this tool, please make some noise on social! [@kitesurfer](https

### Spring Cleaning!

Lost of work happened under the hood in this release. Mainly refactoring, bugs and cleanup items. If you notice any breakage from the previous release, please file an issue so we can address. Thank you!
Lost of work happened under the hood in this release. Mainly refactoring, bugs and cleanup items. If you notice any breakage from the previous release, please file an issue so we can improve Popeye. Thank you!

---

Expand Down
4 changes: 2 additions & 2 deletions internal/cache/no_mx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ func TestListClusterMetrics(t *testing.T) {
}{
"cool": {
map[string]*mv1beta1.NodeMetrics{
"n1": &mv1beta1.NodeMetrics{
"n1": {
Usage: v1.ResourceList{
v1.ResourceCPU: toQty("100m"),
v1.ResourceMemory: toQty("100Mi"),
},
},
"n2": &mv1beta1.NodeMetrics{
"n2": {
Usage: v1.ResourceList{
v1.ResourceCPU: toQty("100m"),
v1.ResourceMemory: toQty("100Mi"),
Expand Down
6 changes: 3 additions & 3 deletions internal/sanitize/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (n *node) ListPodsMetrics() map[string]*v1beta1.PodMetrics {
func makePodToleration(n, k, v string) *v1.Pod {
p := makePod(n)
p.Spec.Tolerations = []v1.Toleration{
v1.Toleration{Key: k, Value: v},
{Key: k, Value: v},
}
return p
}
Expand All @@ -240,7 +240,7 @@ func makeCondNode(n string, c v1.NodeConditionType, s v1.ConditionStatus) *v1.No
no := makeNode(n, "100m", "100Mi")
no.Status = v1.NodeStatus{
Conditions: []v1.NodeCondition{
v1.NodeCondition{Type: c, Status: s},
{Type: c, Status: s},
},
}
return no
Expand All @@ -254,7 +254,7 @@ func makeNode(n, cpu, mem string) *v1.Node {
Spec: v1.NodeSpec{},
Status: v1.NodeStatus{
Conditions: []v1.NodeCondition{
v1.NodeCondition{Type: v1.NodeReady, Status: v1.ConditionTrue},
{Type: v1.NodeReady, Status: v1.ConditionTrue},
},
},
}
Expand Down
4 changes: 2 additions & 2 deletions internal/sanitize/secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func makeSecret(n string) *v1.Secret {
Namespace: "default",
},
Data: map[string][]byte{
"k1": []byte{},
"k2": []byte{},
"k1": {},
"k2": {},
},
}
}

0 comments on commit e92b846

Please sign in to comment.