Skip to content

Commit

Permalink
updated to astra devops api
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Svihla committed Mar 31, 2021
1 parent b188898 commit 8bf0905
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ func makeConf(confDir, confFile, content string) error {
return fmt.Errorf("error writing file")
}
writer.Flush()
if err != nil {
return fmt.Errorf("error finishing file")
}
fmt.Println("Login information saved")
return nil
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/rsds143/astra-cli
go 1.16

require (
github.com/rsds143/astra-devops-sdk-go v0.3.1
github.com/rsds143/astra-devops-sdk-go v0.3.2
github.com/spf13/cobra v1.1.3
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7z
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rsds143/astra-devops-sdk-go v0.3.1 h1:Bx/EAWwlfAakX8/APEez7CXl7nfm7oGiVShHecnHacs=
github.com/rsds143/astra-devops-sdk-go v0.3.1/go.mod h1:LQaUwm75Ydy/z71nl466Xv0yw8ib5b9L6laTFXbvtHU=
github.com/rsds143/astra-devops-sdk-go v0.3.2 h1:BNsfLqjG6okoGkncK2KlKtLZBiShrWMi66KxeHRtH+w=
github.com/rsds143/astra-devops-sdk-go v0.3.2/go.mod h1:LQaUwm75Ydy/z71nl466Xv0yw8ib5b9L6laTFXbvtHU=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
Expand Down

0 comments on commit 8bf0905

Please sign in to comment.