Skip to content

Commit e8388da

Browse files
committed
fixed up some mistakes from earlier
Signed-off-by: Jack Hayhurst <jhayhurst@liquidweb.com>
1 parent ea0acb4 commit e8388da

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cmd/assetList.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ Examples:
5757
ResultsPerPage: 100,
5858
MethodArgs: apiArgs,
5959
}
60-
results, err := lw - cliCliInst.AllPaginatedResults(&methodArgs)
60+
results, err := lwCliInst.AllPaginatedResults(&methodArgs)
6161
if err != nil {
62-
lw - cliCliInst.Die(err)
62+
lwCliInst.Die(err)
6363
}
6464

6565
if jsonFlag {
66-
pretty, err := lw - cliCliInst.JsonEncodeAndPrettyPrint(results)
66+
pretty, err := lwCliInst.JsonEncodeAndPrettyPrint(results)
6767
if err != nil {
68-
lw - cliCliInst.Die(err)
68+
lwCliInst.Die(err)
6969
}
7070
fmt.Print(pretty)
7171
} else {
@@ -74,7 +74,7 @@ Examples:
7474

7575
var details apiTypes.Subaccnt
7676
if err := instance.CastFieldTypes(item, &details); err != nil {
77-
lw - cliCliInst.Die(err)
77+
lwCliInst.Die(err)
7878
}
7979

8080
fmt.Printf("%d.) ", cnt)

cmd/authInit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func fetchAuthDataInteractively() (writeConfig bool, err error) {
100100
userInputExitEarly := make(chan bool)
101101
userInputContext := make(chan cmdTypes.AuthContext)
102102

103-
fmt.Println("\nTo exit early, type 'exit'\n")
103+
fmt.Printf("\nTo exit early, type 'exit'\n\n")
104104

105105
go func() {
106106
WHILEMOREADDS:

0 commit comments

Comments
 (0)