Cleanup: vagrant typo

This commit is contained in:
Olof hagsand 2022-12-03 18:48:08 +01:00
parent 7b8f472b25
commit 981d6f3797
2 changed files with 7 additions and 9 deletions

View file

@ -83,7 +83,7 @@
* @see rfc8040 Sections 9.1 * @see rfc8040 Sections 9.1
*/ */
static int static int
client_get_capabilities(clicon_handle h, restconf_client_get_capabilities(clicon_handle h,
yang_stmt *yspec, yang_stmt *yspec,
char *xpath, char *xpath,
cxobj **xret) cxobj **xret)
@ -242,7 +242,7 @@ get_client_statedata(clicon_handle h,
goto done; goto done;
if (ret == 0) if (ret == 0)
goto fail; goto fail;
if ((ret = client_get_capabilities(h, yspec, xpath, xret)) < 0) if ((ret = restconf_client_get_capabilities(h, yspec, xpath, xret)) < 0)
goto done; goto done;
} }
if (clicon_option_bool(h, "CLICON_YANG_LIBRARY")){ if (clicon_option_bool(h, "CLICON_YANG_LIBRARY")){

View file

@ -63,11 +63,9 @@ logs:
# appear eg as generic/centos8.log # appear eg as generic/centos8.log
$(VAGRANTS): logs $(VAGRANTS): logs
ifdef LOGDIR ifdef LOGDIR
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$\ with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$(subst /,-,$@).log"
(subst /,-,$@).log"
else else
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(\ with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(subst /,-,$@).log"
subst /,-,$@).log"
endif endif
destroy: destroy: