Address comments

This commit is contained in:
Brendan Burns
2015-09-10 20:54:22 -07:00
parent d9e1a00a14
commit 9ba13ff361
14 changed files with 52 additions and 35 deletions

View File

@@ -270,7 +270,7 @@ func GetFlagDuration(cmd *cobra.Command, flag string) time.Duration {
func AddValidateFlags(cmd *cobra.Command) {
cmd.Flags().Bool("validate", true, "If true, use a schema to validate the input before sending it")
cmd.Flags().Bool("cache-schema", true, "If true, use/store local schema files")
cmd.Flags().String("schema-cache-dir", "/tmp/kubectl.schema", "If non-empty, load/store cached API schemas in this directory, default is '/tmp/kubectl.schema'")
}
func ReadConfigDataFromReader(reader io.Reader, source string) ([]byte, error) {