Skip to content

Commit

Permalink
add return statement for missing platforms in variorum_get_energy_json (
Browse files Browse the repository at this point in the history
  • Loading branch information
kulnaman committed Apr 9, 2024
1 parent 8057604 commit 28c74a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/variorum/variorum.c
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,7 @@ int variorum_get_energy_json(char **get_energy_obj_str)
VARIORUM_ERROR_FEATURE_NOT_IMPLEMENTED,
getenv("HOSTNAME"), __FILE__,
__FUNCTION__, __LINE__);
return 0;
}
err = g_platform[i].variorum_get_energy_json(node_obj);
if (err)
Expand Down

0 comments on commit 28c74a9

Please sign in to comment.