Skip to content

Commit 3d80b92

Browse files
committed
Remove unsupported flag 'logtostderr'
1 parent e5c9ef5 commit 3d80b92

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cmd/crictl/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ limitations under the License.
1717
package main
1818

1919
import (
20-
"flag"
2120
"fmt"
2221
"os"
2322
"sort"
@@ -90,10 +89,6 @@ func getRuntimeService(context *cli.Context) (cri.RuntimeService, error) {
9089
}
9190

9291
func main() {
93-
// Do not log to files.
94-
if err := flag.Set("logtostderr", "true"); err != nil {
95-
logrus.WithError(err).Fatal("Failed to set logtostderr=true")
96-
}
9792
app := cli.NewApp()
9893
app.Name = "crictl"
9994
app.Usage = "client for CRI"

0 commit comments

Comments
 (0)