-
Notifications
You must be signed in to change notification settings - Fork 311
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
"okteto status" command #713
Conversation
Codecov Report
@@ Coverage Diff @@
## master #713 +/- ##
==========================================
- Coverage 33.36% 32.51% -0.85%
==========================================
Files 57 58 +1
Lines 4361 4475 +114
==========================================
Hits 1455 1455
- Misses 2811 2925 +114
Partials 95 95
Continue to review full report at Codecov.
|
pkg/syncthing/syncthing.go
Outdated
configFile = "config.xml" | ||
logFile = "syncthing.log" | ||
syncthingPidFile = "syncthing.pid" | ||
syncthingInfoFile = "syncthing.info" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syncthingInfoFile
is unused (from deadcode
)
pkg/cmd/status/run.go
Outdated
log.Information("Syncthing password: %s", sy.GUIPassword) | ||
} | ||
ctx := context.Background() | ||
status, err := sy.GetCompletion(ctx, dev) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ineffectual assignment to status
(from ineffassign
)
Fixes #657
In order to access syncthing from a different command than
okteto up
, I need to store the syncthing object to deserialize it in theokteto status
command.The
--info
flag show access urls and credentials for the syncthing UI.