jpictl: introduce --config-file/-f as alternative to scanning m/

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-10 23:38:46 +00:00
parent a02b7574b0
commit 325113d992
2 changed files with 38 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func (m *Cluster) init(opts *ScanOptions) error {
return nil
}
func (m *Cluster) initZones(opts *ScanOptions) error {
func (m *Cluster) initZones(_ *ScanOptions) error {
var err error
m.ForEachZone(func(z *Zone) bool {