Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
d0ec45a6
Commit
d0ec45a6
authored
6 years ago
by
Bernardo Cardoso
Browse files
Options
Downloads
Patches
Plain Diff
Fix merge on cmd/root
parent
2dafd9f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/root.go
+1
-3
1 addition, 3 deletions
cmd/root.go
with
1 addition
and
3 deletions
cmd/root.go
+
1
−
3
View file @
d0ec45a6
...
...
@@ -274,7 +274,7 @@ var rootCmd = &cobra.Command{
// Set the cert paths explicitly to avoid data races
SetCertPaths
(
gwCertPath
,
registrationCertPath
)
sessionInitialization
()
userID
:=
sessionInitialization
()
// Set up the listeners for both of the types the client needs for
// the integration test
// Normal text messages
...
...
@@ -296,8 +296,6 @@ var rootCmd = &cobra.Command{
(
time
.
Duration
(
float64
(
1000000000
)
*
(
float64
(
1.0
)
/
dummyFrequency
)))
}
userID
:=
sessionInitialization
()
// Only send a message if we have a message to send (except dummy messages)
recipientId
:=
new
(
id
.
User
)
.
SetUints
(
&
[
4
]
uint64
{
0
,
0
,
0
,
destinationUserId
})
if
message
!=
""
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment