committed by
GitHub
parent
fd735fca4b
commit
02a71845ae
@@ -1065,6 +1065,7 @@ int kubeyaml_save_kubeconfig(const kubeconfig_t * kubeconfig)
|
|||||||
/* Initialize the emitter object. */
|
/* Initialize the emitter object. */
|
||||||
if (!yaml_emitter_initialize(&emitter)) {
|
if (!yaml_emitter_initialize(&emitter)) {
|
||||||
fprintf(stderr, "%s: Could not initialize the emitter object\n", fname);
|
fprintf(stderr, "%s: Could not initialize the emitter object\n", fname);
|
||||||
|
fclose(output);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user