Skip to content

Commit

Permalink
docs: how to install on macos (#5)
Browse files Browse the repository at this point in the history
* docs: how to install on macos

* fix: lint
  • Loading branch information
Tchoupinax authored Mar 24, 2024
1 parent 56ea774 commit 7cb34ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# kubernetes-labels-migrator

## Installation

### MacOS

```bash
brew tap tchoupinax/brew
brew install tchoupinax/brew/kubernetes-labels-migrator
```

## Usage

If you need help, the help flag can show you available flags (`kubernetes-labels-migrator -help`).
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func main() {
logError("Namespace is mandatory")
os.Exit(1)
}
if labelToChangeValue == "" && goalOfOperationIsToRemoveLabel == false {
if labelToChangeValue == "" && !goalOfOperationIsToRemoveLabel {
logError("label value is mandatory")
os.Exit(1)
}
Expand Down

0 comments on commit 7cb34ca

Please sign in to comment.