From a05d983e6fa3d5c2e4ebaa640f6cf70f57c4e8aa Mon Sep 17 00:00:00 2001 From: Abdul Dakkak Date: Thu, 16 Mar 2017 23:28:47 +0000 Subject: [PATCH] fix --- cmd/root.go | 5 ++++- cmd/static_content.go | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 898bb02..84061d4 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -47,10 +47,13 @@ var RootCmd = &cobra.Command{ if err := client.Validate(); err != nil { return err } + if err := client.Subscribe(); err != nil { + return err + } if err := client.Upload(); err != nil { return err } - if err := client.PublishSubscribe(); err != nil { + if err := client.Publish(); err != nil { return err } if err := client.Connect(); err != nil { diff --git a/cmd/static_content.go b/cmd/static_content.go index 171e39d..1ad6aca 100644 --- a/cmd/static_content.go +++ b/cmd/static_content.go @@ -191,7 +191,7 @@ var _escData = map[string]*_escFile{ "/rai_config.yml": { local: "../rai_config.yml", size: 986, - modtime: 1489453918, + modtime: 1489706740, compressed: ` H4sIAAAAAAAA/1xTSXOrPBC88yt0dzkOeMFQ5YNX4jwbHC94uVACZBCbhBaw/eu/wkm+l5fjTGt6unpa kFJTAaCAOTIBg1gBoELMJxyZ4AozjhQAQuTL6LuENW8GYBAgzr0U3T0cmmA0Gs93XW00atmbxMb1VOzt