Explorar o código

readme update

sunguroku %!s(int64=5) %!d(string=hai) anos
pai
achega
d6607f492f
Modificáronse 2 ficheiros con 1 adicións e 7 borrados
  1. 1 1
      README.md
  2. 0 6
      dashboard/src/main/home/new-project/Provisioner.tsx

+ 1 - 1
README.md

@@ -1,5 +1,5 @@
 # Porter 
-[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs) [![Go Report Card](https://goreportcard.com/badge/gojp/goreportcard)](https://goreportcard.com/report/gojp/goreportcard)
+[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs) [![Go Report Card](https://goreportcard.com/badge/gojp/goreportcard)](https://goreportcard.com/report/github.com/porter-dev/porter)
 
 **Porter is a Kubernetes-powered PaaS that runs in your own cloud provider.** Porter brings the Heroku experience to Kubernetes without compromising its flexibility. Get started on Porter without the overhead of DevOps and fully customize your infra later when you need to.
 

+ 0 - 6
dashboard/src/main/home/new-project/Provisioner.tsx

@@ -54,7 +54,6 @@ export default class Provisioner extends Component<PropsType, StateType> {
 
     ws.onmessage = (evt: MessageEvent) => {
       let event = JSON.parse(evt.data);
-      console.log(event)
       let validEvents = [] as any[];
       let err = null;
       
@@ -88,7 +87,6 @@ export default class Provisioner extends Component<PropsType, StateType> {
       }
       
       if (!this.state.maxStep[infra.kind] || !this.state.maxStep[infra.kind]["total_resources"]) {
-        console.log('setting max step for ', infra.kind)
         this.setState({
           maxStep: {
             ...this.state.maxStep,
@@ -142,7 +140,6 @@ export default class Provisioner extends Component<PropsType, StateType> {
   }
 
   componentWillUnmount() {
-    console.log('component will unmount', this.state.websockets)
     if (!this.state.websockets) { return; }
 
     this.state.websockets.forEach((ws: any) => {
@@ -191,7 +188,6 @@ export default class Provisioner extends Component<PropsType, StateType> {
   }
   
   render() {
-    console.log("maxStep", this.state.maxStep)
     let maxStep = 0;
     let currentStep = 0;
 
@@ -208,8 +204,6 @@ export default class Provisioner extends Component<PropsType, StateType> {
     }
 
     if (maxStep !== 0 && currentStep === maxStep) {
-      console.log('Thinks provisioning complete.')
-      console.log(currentStep, maxStep);
       this.props.setCurrentView('dashboard');
     }