normalize docker-compose service that has name with underscore

kubernetes or openshift does not allow underscores in the object
names, while docker-compose does, in this commit the code has been
added to convert underscores to hypens.
This commit is contained in:
Suraj Deshmukh
2017-02-14 17:39:42 +05:30
parent f918d51cc1
commit 0bc24d5ca6
4 changed files with 28 additions and 3 deletions
+3 -2
View File
@@ -3,10 +3,11 @@ package cmd
import (
"bytes"
"fmt"
"github.com/Sirupsen/logrus"
"github.com/spf13/cobra"
"io"
"os"
"github.com/Sirupsen/logrus"
"github.com/spf13/cobra"
)
var completion = &cobra.Command{