renamed OutputMinikubeLogs to OutputOffline
parent
eb8f7e65b9
commit
3e38a1954a
|
|
@ -54,7 +54,7 @@ var logsCmd = &cobra.Command{
|
|||
Long: `Gets the logs of the running instance, used for debugging minikube, not user code.`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
if !isClusterRunning() {
|
||||
logs.OutputMinikubeLogs(numberOfLines)
|
||||
logs.OutputOffline(numberOfLines)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -243,8 +243,8 @@ func outputLastStart() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// OutputMinikubeLogs outputs the audit and last start logs only
|
||||
func OutputMinikubeLogs(lines int) {
|
||||
// OutputOffline outputs logs that don't need a running cluster.
|
||||
func OutputOffline(lines int) {
|
||||
if err := outputAudit(lines); err != nil {
|
||||
klog.Errorf("failed to output audit logs: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue