renamed OutputMinikubeLogs to OutputOffline

pull/10839/head
Steven Powell 2021-03-15 16:33:39 -07:00
parent eb8f7e65b9
commit 3e38a1954a
2 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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)
}