提交 3e38a195 编写于 作者: S Steven Powell

renamed OutputMinikubeLogs to OutputOffline

上级 eb8f7e65
......@@ -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)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册