Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] added a new cloud service collector #157

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typo in test error message
  • Loading branch information
pradeepbbl committed Jun 16, 2023
commit 9f5adb7fd922f0ddcd4a1d62ff7cc6344065e68a
2 changes: 1 addition & 1 deletion collector/cloud_collector_test.go
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ func TestCloudCollectTrue(t *testing.T) {
m := <-metrics

assert.NoError(t, nil, m.Write(&pb))
assert.Equal(t, float64(1), pb.Counter.GetValue(), "excpeted output should be 0 for false")
assert.Equal(t, float64(1), pb.Counter.GetValue(), "excpeted output should be 1 for true")
}

func getFakeClient(t *testing.T, state string) *routeros.Client {