Skip to content

Commit

Permalink
Fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
satr committed Jul 3, 2023
1 parent db2026d commit d501b67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/createApplication.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ var createApplicationCmd = &cobra.Command{
return errors.New(fmt.Sprintf("Error getting public deploy key: %v", err))
}
time.Sleep(getRadixRegistrationNoAccessErrorPause) // Sleep before trying again
continue
}
if deployKeyResp.Payload.PublicDeployKey == nil || len(*deployKeyResp.Payload.PublicDeployKey) == 0 {
if deployKeyResp.Payload == nil || deployKeyResp.Payload.PublicDeployKey == nil || len(*deployKeyResp.Payload.PublicDeployKey) == 0 {
time.Sleep(2 * time.Second) // Sleep before trying again
continue
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

const (
radixCLIError = "Error: Radix CLI executed with error"
version = "1.7.3"
version = "1.7.4"
)

var rootLongHelp = strings.TrimSpace(`
Expand Down

0 comments on commit d501b67

Please sign in to comment.