Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
everettraven committed Jun 4, 2021
1 parent 10a2a5c commit 9f9ae93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subcommands/upgrade_sc.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (ic *UpgradeCommand) Name() string {
//Init - Parses and Populates values of the Upgrade subcommand
func (ic *UpgradeCommand) Init(args []string) error {
if len(args) <= 0 {
fmt.Println("No package specified, upgrading all currently Upgradeed packages.")
fmt.Println("No package specified, upgrading all currently installed packages.")
} else {
ic.name = args[0]
}
Expand Down Expand Up @@ -86,15 +86,15 @@ func (ic *UpgradeCommand) Run() error {
return errors.New("Could not find package " + ic.name + " in the package list")
}

//Check if the corresponding package image is already Upgradeed
//Check if the corresponding package image is already installed
imgExist, err := utils.ImageExists(pack.Image)

//Check for errors
if err != nil {
return err
}

//If the image exists the package is already Upgradeed
//If the image exists the package is already installed
if !imgExist {
return errors.New("Package: " + pack.Name + " is not installed. It must be installed before it can be upgraded.")
}
Expand Down

0 comments on commit 9f9ae93

Please sign in to comment.