• Alexander Campbell's avatar
    kubectl/cmd: many small refactors · 6fd36c10
    Alexander Campbell authored
     * Rename variables and functions to match Go convention.
       For example, UsageError --> UsageErrorf.
     * Remove redundant or unreachable code.
     * Simplify some utility functions (no functionality changes).
     * Fix hanging 'if { return } else { return }' constructs.
     * Fix several incorrect printf verbs.
    6fd36c10
expose.go 11.5 KB