Skip to content

Commit 8544b35

Browse files
committed
Minor code cleanup
1 parent 936ad43 commit 8544b35

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/hems/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,19 +222,19 @@ func main() {
222222
// Logging interface
223223

224224
func (h *hems) Trace(args ...interface{}) {
225-
// h.print("TRACE", args...)
225+
h.print("TRACE", args...)
226226
}
227227

228228
func (h *hems) Tracef(format string, args ...interface{}) {
229-
// h.printFormat("TRACE", format, args...)
229+
h.printFormat("TRACE", format, args...)
230230
}
231231

232232
func (h *hems) Debug(args ...interface{}) {
233-
// h.print("DEBUG", args...)
233+
h.print("DEBUG", args...)
234234
}
235235

236236
func (h *hems) Debugf(format string, args ...interface{}) {
237-
// h.printFormat("DEBUG", format, args...)
237+
h.printFormat("DEBUG", format, args...)
238238
}
239239

240240
func (h *hems) Info(args ...interface{}) {

service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (s *Service) Setup() error {
8484
s.localService.SetShipID(sd.Identifier())
8585
s.localService.SetDeviceType(string(sd.DeviceType()))
8686

87-
logging.Log().Info("Local SKI: ", ski)
87+
logging.Log().Info("Local SKI:", ski)
8888

8989
vendor := sd.VendorCode()
9090
if vendor == "" {

0 commit comments

Comments
 (0)