Skip to content

Commit

Permalink
Clean lint
Browse files Browse the repository at this point in the history
Lint is preventing merge of PR 93,
a feature that includes comma and tab seperated
exports of capacity data
  • Loading branch information
isaacnboyd committed Jan 18, 2024
1 parent 9bca0c6 commit a2c57ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ kube-capacity --pods --containers --util --output yaml
```

### CSV and TSV Output
If you would like the data in a comma or tab separated file to make importing the data into a spreadsheet easier the output flag has optionms for those as well. Here are some sample commands:
If you would like the data in a comma or tab separated file to make importing the data into a spreadsheet easier the output flag has options for those as well. Here are some sample commands:
```
kube-capacity --pods --output csv
kube-capacity --pods --containers --util --output tsv
Expand Down
7 changes: 5 additions & 2 deletions pkg/capacity/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@

package capacity

const VoidValue = "*"
const CSVStringTerminator = "\""
// add constants for repetitive strings
const (
VoidValue = "*"
CSVStringTerminator = "\""
)

0 comments on commit a2c57ca

Please sign in to comment.