add toughswitch consolidated type, and use in cmd
This commit is contained in:
@@ -31,7 +31,7 @@ func fetchToughSwitchDevice(ctx context.Context, clientConf *config.ClientConfig
|
||||
return nil, fmt.Errorf("login failed: %w", err)
|
||||
}
|
||||
|
||||
return client.GetDevice(ctx, clientConf.Host)
|
||||
return client.GetToughSwitch(ctx, clientConf.Host)
|
||||
}
|
||||
|
||||
func fetchEdgeOSDevice(ctx context.Context, clientConf *config.ClientConfig) (any, error) {
|
||||
|
||||
Reference in New Issue
Block a user