From ea215e4fd79632af5fa67f5c5b49611b197ee1be Mon Sep 17 00:00:00 2001 From: Andy Jeffries Date: Sat, 29 Feb 2020 15:11:51 +0000 Subject: [PATCH] Remove (old) accidentally commited API keys --- cmd/root.go | 15 --------------- go.mod | 1 + go.sum | 2 ++ 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index bb7b8c65..81c4531d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -8,21 +8,6 @@ import ( "github.com/spf13/cobra" ) -// { -// "apikeys":{ -// "andy@civo.com":"DH48mUq3VIg0drpbkiO9RBsAJxuQKnSCTcZ2eGWYEPw7yFM6lv", -// "andy@andyjeffries.co.uk":"mfFNbE0yR8qIMrzSbLHzENYB7QrfhkA1XZdQ08BBITvQTXJpro", -// "demo@civo.com":"0G3EtRnkBxQdvzhsmACeLKlP4OUFNJVI51Zf67a9jMucY2qXiT" -// }, -// "meta":{ -// "admin":false, -// "current_apikey":"demo@civo.com", -// "default_region":"lon1", -// "latest_release_check":"2019-02-20T20:33:02Z", -// "url":"https://api.civo.com" -// } -// } - // Config describes the configuration for Civo's CLI type Config struct { APIKeys map[string]string `json:"apikeys"` diff --git a/go.mod b/go.mod index 56409064..d84606e4 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ module github.com/civo/cli require ( github.com/briandowns/spinner v1.8.0 // indirect + github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d // indirect github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381 github.com/mitchellh/go-homedir v1.1.0 github.com/olekukonko/tablewriter v0.0.3 diff --git a/go.sum b/go.sum index 90f09a19..cd334907 100644 --- a/go.sum +++ b/go.sum @@ -50,6 +50,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d h1:cVtBfNW5XTHiKQe7jDaDBSh/EVM4XLPutLAGboIXuM0= +github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d/go.mod h1:P2viExyCEfeWGU259JnaQ34Inuec4R38JCyBx2edgD0= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=